Hi Rupesh,
Thank you for the update.
#Regarding Show dayview in portrait mode and weekview in landscape mode
We have checked the reported query from our end. Your requirement can be achieved by changing the scheduler view type on size changing. Please refer to the following code snippet for your reference.
Code Snippet
|
this.Schedule.SizeChanged += Schedule_SizeChanged;
…
…
private void Schedule_SizeChanged(object sender, EventArgs e)
{
if (DeviceDisplay.MainDisplayInfo.Orientation == DisplayOrientation.Landscape)
{
this.Schedule.ScheduleView = ScheduleView.WeekView;
}
else
this.Schedule.ScheduleView = ScheduleView.DayView;
} |
Note:
In the example by using the SizeChanged event of SfSchedule, view type changed by comparing the orientation of device with the help of Xamarin.Essentials.DeviceDisplay.
Please let us know more details if the shared information not meets your requirement.
Regards,
SaiGanesh Sakthivel