AppointmentView
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
Initializes a new instance of the AppointmentView class.
public AppointmentView()
Fields
BackgroundColorProperty
BindableProperty
Identifies the BackgroundColor property.
public static readonly BindableProperty BackgroundColorProperty
CornerRadiusProperty
BindableProperty
Identifies the CornerRadius bindable property.
public static readonly BindableProperty CornerRadiusProperty
DeleteButtonTextColorProperty
BindableProperty
Identifies the DeleteButtonTextColor bindable property.
public static readonly BindableProperty DeleteButtonTextColorProperty
PaddingProperty
BindableProperty
Identifies the Padding bindable property.
public static readonly BindableProperty PaddingProperty
SubjectFontAttributesProperty
BindableProperty
Identifies the SubjectFontAttributes bindable property.
public static readonly BindableProperty SubjectFontAttributesProperty
SubjectFontFamilyProperty
BindableProperty
Identifies the SubjectFontFamily bindable property.
public static readonly BindableProperty SubjectFontFamilyProperty
SubjectFontSizeProperty
BindableProperty
Identifies the SubjectFontSize bindable property.
public static readonly BindableProperty SubjectFontSizeProperty
SubjectProperty
BindableProperty
Identifies the Subject bindable property.
public static readonly BindableProperty SubjectProperty
SubjectTextColorProperty
BindableProperty
Identifies the SubjectTextColor bindable property.
public static readonly BindableProperty SubjectTextColorProperty
Properties
BackgroundColor
Color
public Color BackgroundColor { get; set; }
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.
public double CornerRadius { get; set; }
Implements:
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.
public Color DeleteButtonTextColor { get; set; }
Implements:
Padding
Thickness
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.
public Thickness Padding { get; set; }
Implements:
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.
public string Subject { get; set; }
Implements:
SubjectFontAttributes
FontAttributes
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.
public FontAttributes SubjectFontAttributes { get; set; }
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.
public string SubjectFontFamily { get; set; }
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.
public double SubjectFontSize { get; set; }
SubjectTextColor
Color
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.
public Color SubjectTextColor { get; set; }
Implements:
Methods
protected override void OnBindingContextChanged()