Class AppointmentBase
Provides base class for appointments.
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public abstract class AppointmentBase : EditableObjectBase<IAppointment>, IDisposable, IAppointment, IOccurrence, IDateSpan, INotifyPropertyChanged, IEditableObject, IEquatable<IAppointment>, ICopyable<IAppointment>, IExtendedAppointment, IObjectGenerator<IRecurrenceRule>
Constructors
AppointmentBase()
Properties
Category
Gets or sets the System.String value representing the category of the IAppointment object.
Declaration
public virtual ICategory Category { get; set; }
Property Value
ICategory
|
Implements
End
Gets or sets the System.DateTime value determining the end date and time of the IAppointment.
Declaration
public virtual DateTime End { get; set; }
Property Value
System.DateTime
|
Implements
Importance
Gets or sets the importance.
Declaration
public virtual Importance Importance { get; set; }
Property Value
Importance
The importance. |
Implements
IsAllDayEvent
Gets or sets the System.Boolean value indicating whether the current IAppointment is an All-day one.
Declaration
public virtual bool IsAllDayEvent { get; set; }
Property Value
System.Boolean
|
Implements
RecurrenceRule
Gets or sets the IRecurrenceRule value determining the recurrence rule of the IAppointment.
Declaration
public virtual IRecurrenceRule RecurrenceRule { get; set; }
Property Value
IRecurrenceRule
The recurrence rule. |
Implements
Resources
Gets the collection containing the resources, associated with the appointment.
Declaration
public virtual ResourceCollection Resources { get; }
Property Value
ResourceCollection
|
Start
Gets or sets the System.DateTime value determining the start date and time of the IAppointment.
Declaration
public virtual DateTime Start { get; set; }
Property Value
System.DateTime
|
Implements
Subject
Gets or sets the System.String value representing the subject of the IAppointment object.
Declaration
public virtual string Subject { get; set; }
Property Value
System.String
|
Implements
TimeMarker
Gets or sets the System.String value representing the body of the IAppointment object.
Declaration
public virtual ITimeMarker TimeMarker { get; set; }
Property Value
ITimeMarker
|
Implements
TimeZone
Gets or sets the time zone.
Declaration
public virtual TimeZoneInfo TimeZone { get; set; }
Property Value
System.TimeZoneInfo
The time zone. |
Implements
Methods
CalculateActualDateTime(DateTime, TimeZoneInfo, Nullable<Boolean>)
Declaration
public static object CalculateActualDateTime(DateTime date, TimeZoneInfo timeZone, bool? considerTimeZone)
Parameters
System.DateTime
date
|
System.TimeZoneInfo
timeZone
|
System.Nullable<System.Boolean>
considerTimeZone
|
Returns
System.Object
|
CopyFrom(IAppointment)
Deep copies all properties from other
to this IAppointment.
Declaration
public override void CopyFrom(IAppointment other)
Parameters
IAppointment
other
The IAppointment which properties are copied. |
Overrides
Implements
Equals(IAppointment)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(IAppointment other)
Parameters
IAppointment
other
|
Returns
System.Boolean
|
Implements
OnRecurrenceRuleChanged(EventArgs)
Raises the RecurrenceRuleChanged event.
Declaration
protected virtual void OnRecurrenceRuleChanged(EventArgs args)
Parameters
System.EventArgs
args
The System.EventArgs instance containing the event data. |
Events
RecurrenceRuleChanged
Occurs when RecurrenceRule status is changed.
Declaration
public event EventHandler RecurrenceRuleChanged
Event Type
System.EventHandler
|
Implements
Explicit Interface Implementations
IObjectGenerator<IRecurrenceRule>.CreateNew()
Creates a new IRecurrenceRule instance.
Declaration
IRecurrenceRule IObjectGenerator<IRecurrenceRule>.CreateNew()
Returns
IRecurrenceRule
The new instance of IRecurrenceRule. |
Implements
IObjectGenerator<IRecurrenceRule>.CreateNew(IRecurrenceRule)
Creates a new IRecurrenceRule instance and copies the provided object properties on to the new instance.
Declaration
IRecurrenceRule IObjectGenerator<IRecurrenceRule>.CreateNew(IRecurrenceRule item)
Parameters
IRecurrenceRule
item
|
Returns
IRecurrenceRule
The new instance of IRecurrenceRule. |
Implements
IAppointment.Resources
Declaration
IList IAppointment.Resources { get; }
Returns
System.Collections.IList
|