Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AppointmentStyle

    Show / Hide Table of Contents

    Class AppointmentStyle

    The Appointment Style class contains properties to customize the appearance of displaying appointments in schedule.

    Inheritance
    System.Object
    AppointmentStyle
    Namespace: Syncfusion.SfSchedule.XForms
    Assembly: Syncfusion.SfSchedule.XForms.dll
    Syntax
    public class AppointmentStyle : Element, IThemeElement

    Constructors

    AppointmentStyle()

    Initializes a new instance of the AppointmentStyle class.

    Declaration
    public AppointmentStyle()

    Fields

    BorderColorProperty

    Gets or sets the Border Color property for Appointment Style to customize the border color of appointment view. This is a bindable property.

    Declaration
    public static readonly BindableProperty BorderColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    BorderCornerRadiusProperty

    Gets or sets the Border Corner Radius for AppointmentStyle to customize the border's corner radius of appointment view. This is a bindable property.

    Declaration
    public static readonly BindableProperty BorderCornerRadiusProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    BorderWidthProperty

    Gets or sets the Border Width property for Appointment Style to customize the Border width of the appointment view. This is a bindable property.

    Declaration
    public static readonly BindableProperty BorderWidthProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontAttributesProperty

    Gets or sets the Font Attributes for appointment style to customize font attribute for the text in the appointment UI view.This is bindable property.

    Declaration
    public static readonly BindableProperty FontAttributesProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontFamilyProperty

    Gets or sets the font family.This is a bindable property.

    Declaration
    public static readonly BindableProperty FontFamilyProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    FontSizeProperty

    Gets or sets the Font Size property for Appointment Style to customize the displaying text's font size in appointment.This is a bindable property.

    Declaration
    public static readonly BindableProperty FontSizeProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SelectionBorderColorProperty

    Gets or sets the Selection Border Color for Appointment Style to customize the selection border color of the appointment view. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectionBorderColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    SelectionTextColorProperty

    Gets or sets Selection Text Color to customize the displaying text color of the selected appointment text in schedule.. This is a bindable property.

    Declaration
    public static readonly BindableProperty SelectionTextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    TextColorProperty

    Gets or sets Text Color property for appointment style to customize the display text color of the appointment text. This is a bindable property.

    Declaration
    public static readonly BindableProperty TextColorProperty
    Field Value
    Type Description
    Xamarin.Forms.BindableProperty

    Properties

    BorderColor

    Gets or sets the Border Color property for Appointment Style to customize the border color of appointment view.

    Declaration
    public Color BorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color
    Remarks

    It's a readonly property and we need to set the Palette of the WorkWeekViewSettings class.

    BorderCornerRadius

    Gets or sets the Border Corner Radius for AppointmentStyle to customize the border's corner radius of appointment view.

    Declaration
    public double BorderCornerRadius { get; set; }
    Property Value
    Type Description
    System.Double

    The border corner radius.

    BorderWidth

    Gets or sets the Border Width property for Appointment Style to customize the Border width of the appointment view.

    Declaration
    public double BorderWidth { get; set; }
    Property Value
    Type Description
    System.Double

    The width of the border.

    FontAttributes

    Gets or sets the Font Attributes for appointment style to customize font attribute for the text in the appointment UI view.

    Declaration
    public FontAttributes FontAttributes { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.FontAttributes

    The font attributes of the text.

    FontFamily

    Gets or sets the font family to replace the default font family for the text in appointment UI view.

    Declaration
    public string FontFamily { get; set; }
    Property Value
    Type Description
    System.String

    The font family of the text.

    FontSize

    Gets or sets the Font Size property for Appointment Style to customize the displaying text's font size in appointment.

    Declaration
    public double FontSize { get; set; }
    Property Value
    Type Description
    System.Double

    The font size of the text.

    SelectionBorderColor

    Gets or sets the Selection Border Color for Appointment Style to customize the selection border color of the appointment view.

    Declaration
    public Color SelectionBorderColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The color of the selection border.

    SelectionTextColor

    Gets or sets Selection Text Color to customize the displaying text color of the selected appointment text in schedule.

    Declaration
    public Color SelectionTextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The color of the selection text.

    TextColor

    Gets or sets Text Color property for appointment style to customize the display text color of the appointment text.

    Declaration
    public Color TextColor { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Color

    The color of the text.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved