Agenda View in .NET MAUI Scheduler: A Perfect Tool for Modern-Day Office Management
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (173).NET Core  (29).NET MAUI  (203)Angular  (107)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (40)Black Friday Deal  (1)Blazor  (211)BoldSign  (13)DocIO  (24)Essential JS 2  (106)Essential Studio  (200)File Formats  (65)Flutter  (132)JavaScript  (219)Microsoft  (118)PDF  (81)Python  (1)React  (98)Streamlit  (1)Succinctly series  (131)Syncfusion  (897)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (50)Windows Forms  (61)WinUI  (68)WPF  (157)Xamarin  (161)XlsIO  (35)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (146)Chart  (127)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (618)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (39)Extensions  (22)File Manager  (6)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (501)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (42)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (381)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (17)Web  (582)What's new  (323)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Agenda View in .NET MAUI Scheduler A Perfect Tool for Modern-Day Office Management

Agenda View in .NET MAUI Scheduler: A Perfect Tool for Modern-Day Office Management

The agenda view in the Syncfusion .NET MAUI Scheduler is the best tool for task planners to create effective business scheduling software.

It shows appointments in a list format for each date between the minimum and maximum dates, grouped by week. Using the agenda view, you can show a list of appointments for a day with a day, week, or month header. You can customize each header with unique styles. Localization, globalization, and customization are also supported in this comprehensive feature set.

Agenda View in .NET MAUI Scheduler
Agenda View in .NET MAUI Scheduler

In this blog, we are going to explore the user-friendly features of the .NET MAUI Scheduler’s agenda view with code examples.

Note: If you are new to our .NET MAUI Scheduler control, please refer to its getting started documentation before proceeding.

Different UIs

The agenda view displays the user interface in the following two ways:

  • Android and iPhone apps: Display appointments with date, week, and month headers.
  • Windows and Mac apps: Display appointments with only the date header.

Agenda View in Mobile Platform
Agenda View in Mobile Platform

Agenda View in Desktop Platform
Agenda View in Desktop Platform

Customizing the .NET MAUI Scheduler’s agenda view

The agenda view allows you to customize the appointment view, header views, and date and day formats. Let’s see how to customize them with code examples.

Month header customization

The month header in the .NET MAUI Scheduler shows the month and year at the start of a new month. You can customize the format and style of the month header in the Agenda View using the MonthHeaderSettings property.

The SchedulerMonthHeaderSettings class contains the properties that allow you to customize the month header in the agenda view. This can be done by setting unique values for the DateFormatHeightTextStyle, and Background properties in the SchedulerMonthHeaderSettings.

Refer to the following code example.

XAML

<scheduler:SfScheduler x:Name=”Scheduler”
                         View=”Agenda”>
 <scheduler:SfScheduler.AgendaView>
  <scheduler:SchedulerAgendaView>
   <scheduler:SchedulerAgendaView.MonthHeaderSettings>
    <scheduler:SchedulerMonthHeaderSettings DateFormat=”MMM yyy”
                                            Height=”200”
                                            Background=”LightGreen” />
   </scheduler:SchedulerAgendaView.MonthHeaderSettings>
  </scheduler:SchedulerAgendaView>
 </scheduler:SfScheduler.AgendaView>
</scheduler:SfScheduler>

C#

SchedulerTextStyle textStyle = new SchedulerTextStyle()
{
   TextColor = Colors.Red,
   FontSize = 12,
};
 
SchedulerMonthHeaderSettings monthHeaderSetting = new SchedulerMonthHeaderSettings()
{
   DateFormat = “MMM yyy”,
   Height = 200,
   TextStyle = textStyle,
   Background = Brush.LightGreen
};
 
this.Scheduler.AgendaView = new SchedulerAgendaView()
{
   MonthHeaderSettings = monthHeaderSetting,
};
Customizing the Month Header Format and Style in the .NET MAUI Scheduler
Customizing the Month Header Format and Style in the .NET MAUI Scheduler

Also, you can customize the month header by replacing it with a custom header using the MonthHeaderTemplate property in the AgendaView.

Refer to the following code example.

XAML

<scheduler:SfScheduler x:Name=”Scheduler”
                         View=”Agenda”>
 <scheduler:SfScheduler.AgendaView>
  <scheduler:SchedulerAgendaView>
   <scheduler:SchedulerAgendaView.MonthHeaderTemplate>
    <DataTemplate>
     <Grid>
      <Label x:Name=”label”
               HorizontalOptions=”Center”
               Background=”LightGreen”
               VerticalOptions=”Center”
               TextColor=”Black”
               FontSize=”25”
               Text=”{Binding StringFormat=’{0:MMMM yyyy}’}” />
     </Grid>
    </DataTemplate>
   </scheduler:SchedulerAgendaView.MonthHeaderTemplate>
  </scheduler:SchedulerAgendaView>
 </scheduler:SfScheduler.AgendaView>
</scheduler:SfScheduler>
Customizing the Month Header with Templates in the .NET MAUI Scheduler
Customizing the Month Header with Templates in the .NET MAUI Scheduler

Day header customization

The day header is the UI shown on the left side of the agenda view. It shows the date and day of the appointment view. It is shown on the agenda view only when a date has an appointment. You can customize the format and style of the day header in the AgendaView using the DayHeaderSettings property.

The SchedulerDayHeaderSettings class contains the properties that allow you to customize the day header on the agenda view. This can be done by setting different values to the BackgroundDayFormatWidthDayTextStyle, and DateTextStyle properties in the SchedulerDayHeaderSettings.

Refer to the following code example.

XAML

<scheduler:SfScheduler x:Name=”Scheduler”
                         View=”Agenda”>
 <scheduler:SfScheduler.AgendaView>
  <scheduler:SchedulerAgendaView>
   <scheduler:SchedulerAgendaView.DayHeaderSettings>
    <scheduler:SchedulerDayHeaderSettings DayFormat=”MM, ddd”
                                          Background=”LightGreen”/>
   </scheduler:SchedulerAgendaView.DayHeaderSettings>
  </scheduler:SchedulerAgendaView>
 </scheduler:SfScheduler.AgendaView>
</scheduler:SfScheduler>

C#

SchedulerTextStyle textStyle = new SchedulerTextStyle()
{
   TextColor = Colors.Red,
   FontSize = 12,
};
 
SchedulerDayHeaderSettings dayHeaderSetting = new SchedulerDayHeaderSettings()
{
   DayFormat = “MM, ddd”,
   Background = Colors.LightGreen,
   DayTextStyle = textStyle,
   DateTextStyle = textStyle,
};
 
this.Scheduler.AgendaView = new SchedulerAgendaView()
{
   DayHeaderSettings = dayHeaderSetting,
};
Customizing the Day Header in the .NET MAUI Scheduler’s Agenda View
Customizing the Day Header in the .NET MAUI Scheduler’s Agenda View

Week header customization

The week header shows the first and last dates of a week at the start of the week. You can customize the format and style of the week header in the AgendaView using the WeekHeaderSettings property.

The SchedulerWeekHeaderSettings class contains the properties that allow you to customize the week header on the agenda view. This can be done by setting different values to the DateFormatHeightTextStyle, and Background properties in the SchedulerWeekHeaderSettings class.

Refer to the following code example.

XAML

<scheduler:SfScheduler x:Name=”Scheduler”
                         View=”Agenda”>
 <scheduler:SfScheduler.AgendaView>
  <scheduler:SchedulerAgendaView>
   <scheduler:SchedulerAgendaView.WeekHeaderSettings>
    <scheduler:SchedulerWeekHeaderSettings  DateFormat=”dd, ddd”
                                            Height=”100”
                                            Background=”LightGreen” />
   </scheduler:SchedulerAgendaView.WeekHeaderSettings>
  </scheduler:SchedulerAgendaView>
 </scheduler:SfScheduler.AgendaView>
</scheduler:SfScheduler>

C#

SchedulerTextStyle textStyle = new SchedulerTextStyle()
{
   TextColor = Colors.Red,
   FontSize = 12,
};
 
SchedulerWeekHeaderSettings weekHeaderSetting = new SchedulerWeekHeaderSettings()
{
   DateFormat = “dd, ddd”,
   Height = 100,
   TextStyle = textStyle,
   Background = Brush.LightGreen
};
 
this.Scheduler.AgendaView = new SchedulerAgendaView()
{
   WeekHeaderSettings = weekHeaderSetting,
};
Customizing the Week Header in the .NET MAUI Scheduler Agenda View
Customizing the Week Header in the .NET MAUI Scheduler Agenda View

Appointment text customization

Also, you can customize the agenda view’s appointment text style using the AppointmentTextStyle property in the SfScheduler. Refer to the following code example.

XAML

<scheduler:SfScheduler x:Name=”Scheduler” View=”Agenda”/>

C#

SchedulerTextStyle appointmentTextStyle = new SchedulerTextStyle()
{
  TextColor = Colors.Yellow,
  FontSize = 12,
};
 
this.Scheduler.AppointmentTextStyle = appointmentTextStyle;
Customizing the Agenda View’s Appointment Text Style in the .NET MAUI Scheduler
Customizing the Agenda View’s Appointment Text Style in the .NET MAUI Scheduler

Supercharge your cross-platform apps with Syncfusion's robust .NET MAUI controls.

Conclusion

Thanks for reading! In this blog post, we had a quick overview of the key features of the agenda view in the Syncfusion .NET MAUI Scheduler. Use these marvelous features to effectively schedule and manage your appointments!

Also, try out our .NET MAUI controls demos on GitHub and share your feedback or ask questions in the comments section below.

If you are not yet a Syncfusion customer, you can try our 30-day free trial to see how our components can enhance your projects.

You can also reach us through our support forumsupport portal, or feedback portal. We are always happy to assist you!

Test Flight
App Center Badge
Google Play Store Badge
Microsoft Badge
Github Store Badge

Related

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed