ClassAppointmentView
Represents a view that is used to visualize an appointment. This view provides the visual representation of appointments within the scheduler, handling layout, styling, and user interaction for individual appointment entries. AppointmentView supports customization through styling, templates, and data binding.
Definition
Namespace:Telerik.Maui.Controls.Scheduler
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class AppointmentView : View, IAppointmentView, IView, IElement, ITransform
Inheritance: objectAppointmentView
Implements:
Constructors
AppointmentView()
Initializes a new instance of the AppointmentView class.
Declaration
public AppointmentView()
Fields
BackgroundColorProperty
Identifies the BackgroundColor property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
BindableProperty
CornerRadiusProperty
Identifies the CornerRadius bindable property.
Declaration
public static readonly BindableProperty CornerRadiusProperty
Field Value
BindableProperty
DeleteButtonTextColorProperty
Identifies the DeleteButtonTextColor bindable property.
Declaration
public static readonly BindableProperty DeleteButtonTextColorProperty
Field Value
BindableProperty
PaddingProperty
Identifies the Padding bindable property.
Declaration
public static readonly BindableProperty PaddingProperty
Field Value
BindableProperty
SubjectFontAttributesProperty
Identifies the SubjectFontAttributes bindable property.
Declaration
public static readonly BindableProperty SubjectFontAttributesProperty
Field Value
BindableProperty
SubjectFontFamilyProperty
Identifies the SubjectFontFamily bindable property.
Declaration
public static readonly BindableProperty SubjectFontFamilyProperty
Field Value
BindableProperty
SubjectFontSizeProperty
Identifies the SubjectFontSize bindable property.
Declaration
public static readonly BindableProperty SubjectFontSizeProperty
Field Value
BindableProperty
SubjectProperty
Identifies the Subject bindable property.
Declaration
public static readonly BindableProperty SubjectProperty
Field Value
BindableProperty
SubjectTextColorProperty
Identifies the SubjectTextColor bindable property.
Declaration
public static readonly BindableProperty SubjectTextColorProperty
Field Value
BindableProperty
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
Color
CornerRadius
Gets or sets the corner radius of the appointment. This property controls the roundness of the appointment's corners, allowing for modern, rounded appearance or sharp rectangular edges.
Declaration
public double CornerRadius { get; set; }
Property Value
Implements
DeleteButtonTextColor
Gets or sets the text color of the delete button that is visualized when appointment is hovered in WinUI and MacCatalyst. This property controls the appearance of the delete button that appears on appointment hover, providing platform-specific deletion functionality for desktop environments.
Declaration
public Color DeleteButtonTextColor { get; set; }
Property Value
Color
Implements
Padding
Gets or sets the padding of the appointment. This property controls the internal spacing between the appointment's border and its content, affecting text positioning and overall visual appearance.
Declaration
public Thickness Padding { get; set; }
Property Value
Thickness
Implements
Subject
Gets or sets the subject of the appointment. This property represents the main text content displayed on the appointment, typically showing the appointment's title or description.
SubjectFontAttributes
Gets or sets the font attributes of the subject. This property controls the styling attributes of the subject text, such as bold, italic, or combinations thereof.
Declaration
public FontAttributes SubjectFontAttributes { get; set; }
Property Value
FontAttributes
SubjectFontFamily
Gets or sets the font family of the subject. This property allows customization of the typeface used for the subject text, enabling brand consistency or improved readability.
SubjectFontSize
Gets or sets the font size of the subject. This property controls the size of the subject text, allowing for emphasis or adaptation to different appointment sizes and display densities.
SubjectTextColor
Gets or sets the text color of the subject. This property controls the color of the subject text, affecting readability and visual hierarchy within the appointment display.
Declaration
public Color SubjectTextColor { get; set; }
Property Value
Color
Implements
Methods
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()