How to change the time interval height in .NET MAUI Scheduler days view?
The .NET MAUI Scheduler displays appointments or events based on start and end times within the day, week, and workweek view timeslots. Adjusting the time interval height can enhance the visibility of these appointments. This guide shows how to change the time interval height in the DaysView using the TimeIntervalHeight property.
XAML
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="TimeIntervalHeightWidth.MainPage"
BackgroundColor="{DynamicResource SecondaryColor}"
xmlns:scheduler="clr-namespace:Syncfusion.Maui.Scheduler;assembly=Syncfusion.Maui.Scheduler">
<Grid>
<scheduler:SfScheduler x:Name="Scheduler" View="Week" AllowedViews="Day,Week,WorkWeek,TimelineDay,TimelineWeek,TimelineWorkWeek">
<scheduler:SfScheduler.DaysView>
<scheduler:SchedulerDaysView
TimeIntervalHeight="70"/>
</scheduler:SfScheduler.DaysView>
</scheduler:SfScheduler>
</Grid>
</ContentPage>
|
Conclusion
I hope you enjoyed learning how to change the time interval height in the .NET MAUI Scheduler days view..
You can refer to our .NET MAUI Scheduler feature tour page to know about its other groundbreaking feature representations. Explore our .NET MAUI Scheduler documentation to understand how to create and manipulate data.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls.
If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!
