New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a definition of a view that displays appointments in a continuous, scrollable agenda list. This view presents appointments grouped by month, week, and day, allowing users to see upcoming events in a linear format rather than a grid. Provides properties for customizing the appearance and behavior of the agenda view, including templates for headers and appointment durations, as well as styles for busy and progress indicators.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class AgendaViewDefinition : ViewDefinitionBase, INotifyPropertyChanged

Inheritance: objectViewDefinitionBaseAgendaViewDefinition

Implements: INotifyPropertyChanged

Inherited Members ViewDefinitionBase.TitlePropertyViewDefinitionBase.HeaderTextFormatPropertyViewDefinitionBase.TitleViewDefinitionBase.HeaderTextFormat

Constructors

C#
public AgendaViewDefinition()

Fields

C#
public static readonly BindableProperty ActualInitializationBusyIndicatorStyleProperty

Identifies the ActualLoadingProgressIndicatorStyle property.

C#
public static readonly BindableProperty ActualLoadingProgressIndicatorStyleProperty

Identifies the AppointmentDurationTemplate property.

C#
public static readonly BindableProperty AppointmentDurationTemplateProperty

DayTemplateProperty

BindableProperty

Identifies the DayTemplate property.

C#
public static readonly BindableProperty DayTemplateProperty

FirstDayOfWeekProperty

BindableProperty

Identifies the FirstDayOfWeek property.

C#
public static readonly BindableProperty FirstDayOfWeekProperty

Identifies the InitializationBusyIndicatorStyle property.

C#
public static readonly BindableProperty InitializationBusyIndicatorStyleProperty

Identifies the LoadingProgressIndicatorStyle property.

C#
public static readonly BindableProperty LoadingProgressIndicatorStyleProperty

MonthTemplateProperty

BindableProperty

Identifies the MonthTemplate property.

C#
public static readonly BindableProperty MonthTemplateProperty

WeekTemplateProperty

BindableProperty

Identifies the WeekTemplate property.

C#
public static readonly BindableProperty WeekTemplateProperty

Properties

Gets the actual style applied to the initialization busy indicator. This is a computed style that merges the custom InitializationBusyIndicatorStyle with the default style.

C#
public Style ActualInitializationBusyIndicatorStyle { get; }
Property Value:

The computed Style that is actually applied to the RadBusyIndicator.

Gets the actual style applied to the loading progress indicator. This is a computed style that merges the custom LoadingProgressIndicatorStyle with the default style.

C#
public Style ActualLoadingProgressIndicatorStyle { get; }
Property Value:

The computed Style that is actually applied to the RadLinearProgressBar.

Gets or sets the template used to display appointment duration in the agenda view.

C#
public DataTemplate AppointmentDurationTemplate { get; set; }

DayTemplate

DataTemplate

Gets or sets the template used to display day headers in the agenda view.

C#
public DataTemplate DayTemplate { get; set; }

Gets or sets the day that is considered the beginning of the week.

C#
public DayOfWeek? FirstDayOfWeek { get; set; }
Property Value:

A DayOfWeek value indicating the first day, or null for system default.

Gets or sets the style applied to the busy indicator displayed during initial data loading. This indicator appears centered on screen while the agenda items are being loaded and until scroll is performed to the current item. The style should target RadBusyIndicator.

C#
public Style InitializationBusyIndicatorStyle { get; set; }
Property Value:

A Style that defines visual properties for the initialization busy indicator.

Remarks:

When set, this style is merged with the default style to produce the ActualInitializationBusyIndicatorStyle. Leave as null to use the default style.

Gets or sets the style applied to the progress bar displayed when loading appointments for the visible range. This linear progress bar appears at the top of the view during scrolling when new appointments are being loaded. The style should target RadLinearProgressBar.

C#
public Style LoadingProgressIndicatorStyle { get; set; }
Property Value:

A Style that defines visual properties for the loading progress indicator.

Remarks:

When set, this style is merged with the default style to produce the ActualLoadingProgressIndicatorStyle. Leave as null to use the default style.

MonthTemplate

DataTemplate

Gets or sets the template used to display month headers in the agenda view.

C#
public DataTemplate MonthTemplate { get; set; }

WeekTemplate

DataTemplate

Gets or sets the template used to display week headers in the agenda view.

C#
public DataTemplate WeekTemplate { get; set; }

Methods

Creates the default title for the view definition.

C#
protected override string CreateDefaultTitle()
Returns:

string

Overrides: ViewDefinitionBase.CreateDefaultTitle()