Class
AgendaViewDefinition

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:

cs-api-definition
public class AgendaViewDefinition : ViewDefinitionBase, INotifyPropertyChanged

Inheritance: objectViewDefinitionBaseAgendaViewDefinition

Implements: INotifyPropertyChanged

Inherited Members ViewDefinitionBase.TitlePropertyViewDefinitionBase.HeaderTextFormatPropertyViewDefinitionBase.TitleViewDefinitionBase.HeaderTextFormat

Constructors

AgendaViewDefinition()

Declaration

cs-api-definition
public AgendaViewDefinition()

Fields

ActualInitializationBusyIndicatorStyleProperty

Declaration

cs-api-definition
public static readonly BindableProperty ActualInitializationBusyIndicatorStyleProperty

Field Value

BindableProperty

ActualLoadingProgressIndicatorStyleProperty

Identifies the ActualLoadingProgressIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty ActualLoadingProgressIndicatorStyleProperty

Field Value

BindableProperty

AppointmentDurationTemplateProperty

Identifies the AppointmentDurationTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty AppointmentDurationTemplateProperty

Field Value

BindableProperty

DayTemplateProperty

Identifies the DayTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty DayTemplateProperty

Field Value

BindableProperty

FirstDayOfWeekProperty

Identifies the FirstDayOfWeek property.

Declaration

cs-api-definition
public static readonly BindableProperty FirstDayOfWeekProperty

Field Value

BindableProperty

InitializationBusyIndicatorStyleProperty

Identifies the InitializationBusyIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty InitializationBusyIndicatorStyleProperty

Field Value

BindableProperty

LoadingProgressIndicatorStyleProperty

Identifies the LoadingProgressIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty LoadingProgressIndicatorStyleProperty

Field Value

BindableProperty

MonthTemplateProperty

Identifies the MonthTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty MonthTemplateProperty

Field Value

BindableProperty

WeekTemplateProperty

Identifies the WeekTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty WeekTemplateProperty

Field Value

BindableProperty

Properties

ActualInitializationBusyIndicatorStyle

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

Declaration

cs-api-definition
public Style ActualInitializationBusyIndicatorStyle { get; }

Property Value

Style

The computed Style that is actually applied to the RadBusyIndicator.

ActualLoadingProgressIndicatorStyle

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

Declaration

cs-api-definition
public Style ActualLoadingProgressIndicatorStyle { get; }

Property Value

Style

The computed Style that is actually applied to the RadLinearProgressBar.

AppointmentDurationTemplate

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

Declaration

cs-api-definition
public DataTemplate AppointmentDurationTemplate { get; set; }

Property Value

DataTemplate

DayTemplate

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

Declaration

cs-api-definition
public DataTemplate DayTemplate { get; set; }

Property Value

DataTemplate

FirstDayOfWeek

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

Declaration

cs-api-definition
public DayOfWeek? FirstDayOfWeek { get; set; }

Property Value

DayOfWeek?

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

InitializationBusyIndicatorStyle

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.

Declaration

cs-api-definition
public Style InitializationBusyIndicatorStyle { get; set; }

Property Value

Style

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.

LoadingProgressIndicatorStyle

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.

Declaration

cs-api-definition
public Style LoadingProgressIndicatorStyle { get; set; }

Property Value

Style

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

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

Declaration

cs-api-definition
public DataTemplate MonthTemplate { get; set; }

Property Value

DataTemplate

WeekTemplate

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

Declaration

cs-api-definition
public DataTemplate WeekTemplate { get; set; }

Property Value

DataTemplate

Methods

CreateDefaultTitle()

Creates the default title for the view definition.

Declaration

cs-api-definition
protected override string CreateDefaultTitle()

Returns

string

Overrides ViewDefinitionBase.CreateDefaultTitle()