Class ScheduleAppointment
The Schedule Appointment class contains properties that represents the schedule appointment in schedule.
Inheritance
Namespace: Syncfusion.SfSchedule.XForms
Assembly: Syncfusion.SfSchedule.XForms.dll
Syntax
public class ScheduleAppointment : BindableObject
Constructors
ScheduleAppointment()
Initializes a new instance of the ScheduleAppointment class.
Declaration
public ScheduleAppointment()
Fields
ActualEndTimeProperty
Gets or sets the EndTime
property.
Declaration
public static readonly BindableProperty ActualEndTimeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ActualStartTimeProperty
Gets or sets the EndTime
property.
Declaration
public static readonly BindableProperty ActualStartTimeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ColorProperty
Gets or sets the Color
property.
Declaration
public static readonly BindableProperty ColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
EndTimeProperty
Gets or sets the EndTime
property.
Declaration
public static readonly BindableProperty EndTimeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
EndTimeZoneProperty
Gets or sets the StartTimeZone
property.
Declaration
public static readonly BindableProperty EndTimeZoneProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ExceptionOccurrenceActualDateProperty
Gets or sets the OriginalOcurrenceDate
property.
Declaration
public static readonly BindableProperty ExceptionOccurrenceActualDateProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IdProperty
Gets Id
property.
Declaration
public static readonly BindableProperty IdProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsAllDayProperty
Gets or sets the IsAllDay
property.
Declaration
public static readonly BindableProperty IsAllDayProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsRecursiveProperty
Gets or sets the IsRecursive
property.
Declaration
public static readonly BindableProperty IsRecursiveProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
LocationProperty
Gets or sets the Location
property.
Declaration
public static readonly BindableProperty LocationProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MinHeightProperty
Gets or sets the minimum height property for schedule appointment. This is bindable property.
Declaration
public static readonly BindableProperty MinHeightProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
NotesProperty
Gets or sets the Notes
property.
Declaration
public static readonly BindableProperty NotesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
RecurrenceExceptionDatesProperty
Gets or sets the RecurrenceExceptionDates
property.
Declaration
public static readonly BindableProperty RecurrenceExceptionDatesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
RecurrenceIdProperty
Gets RecurrenceId
property.
Declaration
public static readonly BindableProperty RecurrenceIdProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
RecurrenceRuleProperty
Gets or sets the recurrence rule for schedule appointment to recur the appointment based on the given recurrence rule.
Declaration
public static readonly BindableProperty RecurrenceRuleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ResourceIdsProperty
Gets or sets the resource ids property for schedule appointment to allocate the corresponding resource to the appointment. This is a bindable property.
Declaration
public static readonly BindableProperty ResourceIdsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StartTimeProperty
Gets or sets the StartTime
property.
Declaration
public static readonly BindableProperty StartTimeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
StartTimeZoneProperty
Gets or sets the StartTimeZone
property.
Declaration
public static readonly BindableProperty StartTimeZoneProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SubjectProperty
Gets or sets the Subject
property.
Declaration
public static readonly BindableProperty SubjectProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TextColorProperty
Gets or sets the TextColor
property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
ActualEndTime
Gets the internal end time which is converted based on end time zone applied.
Declaration
public DateTime ActualEndTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime | This property takes the System.DateTime value. |
ActualStartTime
Gets the internal start time which is converted based on start time zone applied.
Declaration
public DateTime ActualStartTime { get; }
Property Value
Type | Description |
---|---|
System.DateTime | This property takes the System.DateTime value. |
Color
Gets or sets the Color for Schedule Appointment which represents the background color of appointment UI.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color | This property takes the Color value. |
EndTime
Gets or sets the End Time value for Schedule Appointment to determine the appointments end time in schedule.
Declaration
public DateTime EndTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | This property takes the System.DateTime value. |
EndTimeZone
Gets or sets the end time zone for the appointment.
Declaration
public string EndTimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String value. |
ExceptionOccurrenceActualDate
Gets or sets the original ocuurence date if recurrence exception appointment added.
Declaration
public DateTime ExceptionOccurrenceActualDate { get; set; }
Property Value
Type |
---|
System.DateTime |
Id
Gets or sets an unique Id for referring event or appointment in DataSource.
Declaration
public object Id { get; set; }
Property Value
Type |
---|
System.Object |
Remarks
The occurrences of pattern appointment have same Id of pattern recurrence appointment. The exception appointment should have different Id with pattern recurrence appointment.
IsAllDay
Gets or sets a value indicating whether this ScheduleAppointment is all day.
Declaration
public bool IsAllDay { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IsRecursive
Gets or sets a value indicating whether the schedule appointment is recursive the appointment or not.
Declaration
public bool IsRecursive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Location
Gets or sets the Location value for Schedule Appointment to describe the location of the appointment in schedule.
Declaration
public string Location { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String value. |
MinHeight
Gets or sets the minimum height property for schedule appointment to set the minimum height for the appointment.
Declaration
public double MinHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The minimum height. |
Notes
Gets or sets the Notes for Schedule Appointment to describe a note about the appointment in schedule.
Declaration
public string Notes { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String value. |
RecurrenceExceptionDates
Gets or sets the ExceptionDates for recurrence appointment.
Declaration
public ObservableCollection<DateTime> RecurrenceExceptionDates { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<System.DateTime> |
RecurrenceId
Gets or sets the Id which is used to maintain the pattern recurrence Id that added in DataSource for creating the exception recurrence appointment.
Declaration
public object RecurrenceId { get; set; }
Property Value
Type |
---|
System.Object |
See Also
RecurrenceRule
Gets or sets the recurrence rule for schedule appointment to recur the appointment based on the given recurrence rule.
Declaration
public string RecurrenceRule { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String value. |
ResourceIds
Gets or sets the resource ids property for schedule appointment to allocate the corresponding resource to the appointment.
Declaration
public ObservableCollection<object> ResourceIds { get; set; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<System.Object> |
StartTime
Gets or sets the Start Time value for Schedule Appointment to determine the appointments start time in schedule.
Declaration
public DateTime StartTime { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime | This property takes the System.DateTime value. |
StartTimeZone
Gets or sets the start time zone for the appointment.
Declaration
public string StartTimeZone { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String value. |
Subject
Gets or sets the Subject value for Schedule Appointment to describe the appointments subject in schedule.
Declaration
public string Subject { get; set; }
Property Value
Type | Description |
---|---|
System.String | This property takes the System.String value. |
TextColor
Gets or sets the TextColor for Schedule Appointment which represents the text color of appointment UI.
Declaration
public Nullable<Color> TextColor { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Xamarin.Forms.Color> | This property takes the TextColor value. |