New to Telerik UI for WPFStart a free 30-day trial

Provides base class for appointments.

Definition

Constructors

Initializes a new instance of the AppointmentBase class.

C#
protected AppointmentBase()

Properties

Gets or sets the string value representing the category of the IAppointment object.

C#
public virtual ICategory Category { get; set; }

Implements: IExtendedAppointment.Category

Gets or sets the DateTime value determining the end date and time of the IAppointment.

C#
public virtual DateTime End { get; set; }

Implements: IAppointment.EndIDateSpan.End

Gets or sets the importance.

C#
public virtual Importance Importance { get; set; }
Property Value:

The importance.

Implements: IExtendedAppointment.Importance

Gets or sets the bool value indicating whether the current IAppointment is an All-day one.

C#
public virtual bool IsAllDayEvent { get; set; }

Implements: IAppointment.IsAllDayEvent

Gets or sets the IRecurrenceRule value determining the recurrence rule of the IAppointment.

C#
public virtual IRecurrenceRule RecurrenceRule { get; set; }
Property Value:

The recurrence rule.

Implements: IAppointment.RecurrenceRule

Gets the collection containing the resources, associated with the appointment.

C#
public virtual ResourceCollection Resources { get; }

Gets or sets the DateTime value determining the start date and time of the IAppointment.

C#
public virtual DateTime Start { get; set; }

Implements: IAppointment.StartIDateSpan.Start

Gets or sets the string value representing the subject of the IAppointment object.

C#
public virtual string Subject { get; set; }

Implements: IAppointment.Subject

Gets or sets the string value representing the body of the IAppointment object.

C#
public virtual ITimeMarker TimeMarker { get; set; }

Implements: IExtendedAppointment.TimeMarker

Gets or sets the time zone.

C#
public virtual TimeZoneInfo TimeZone { get; set; }
Property Value:

The time zone.

Implements: IAppointment.TimeZone

Methods

C#
public static object CalculateActualDateTime(DateTime date, TimeZoneInfo timeZone, bool? considerTimeZone)
Parameters:dateDateTimetimeZoneTimeZoneInfoconsiderTimeZonebool?Returns:

object

Deep copies all properties from other to this IAppointment.

C#
public override void CopyFrom(IAppointment other)
Parameters:otherIAppointment

The IAppointment which properties are copied.

Overrides: EditableObjectBase<IAppointment>.CopyFrom(IAppointment)

Implements: ICopyable<IAppointment>.CopyFrom(IAppointment)

Indicates whether the current object is equal to another object of the same type.

C#
public bool Equals(IAppointment other)
Parameters:otherIAppointmentReturns:

bool

Implements: IEquatable<IAppointment>.Equals(IAppointment)

Raises the RecurrenceRuleChanged event.

C#
protected virtual void OnRecurrenceRuleChanged(EventArgs args)
Parameters:argsEventArgs

The EventArgs instance containing the event data.

Events

Occurs when RecurrenceRule status is changed.

C#
public event EventHandler RecurrenceRuleChanged

Implements: IAppointment.RecurrenceRuleChanged