Class
AppointmentBase

Provides base class for appointments.

Definition

Namespace:Telerik.Windows.Controls.ScheduleView

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

cs-api-definition
public abstract class AppointmentBase : EditableObjectBase<IAppointment>, IDisposable, IAppointment, IOccurrence, IDateSpan, INotifyPropertyChanged, IEditableObject, IEquatable<IAppointment>, ICopyable<IAppointment>, IExtendedAppointment, IObjectGenerator<IRecurrenceRule>

Inheritance: objectViewModelBaseEditableObjectBase<IAppointment>AppointmentBase

Derived Classes: Appointment

Implements: IAppointmentICopyable<IAppointment>IDateSpanIDisposableIEditableObjectIEquatable<IAppointment>IExtendedAppointmentINotifyPropertyChangedIObjectGenerator<IRecurrenceRule>IOccurrence

Inherited Members EditableObjectBase<IAppointment>.Copy()EditableObjectBase<IAppointment>.OnBeginEdit()EditableObjectBase<IAppointment>.OnEndEdit()EditableObjectBase<IAppointment>.OnCancelEdit()EditableObjectBase<IAppointment>.OnPropertyChanged(string)EditableObjectBase<IAppointment>.Storage<P>()EditableObjectBase<IAppointment>.BackupEditableObjectBase<IAppointment>.IsEditingViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

AppointmentBase()

Initializes a new instance of the AppointmentBase class.

Declaration

cs-api-definition
protected AppointmentBase()

Properties

Category

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

Declaration

cs-api-definition
public virtual ICategory Category { get; set; }

Property Value

ICategory

Implements IExtendedAppointment.Category

End

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

Declaration

cs-api-definition
public virtual DateTime End { get; set; }

Property Value

DateTime

Implements IAppointment.EndIDateSpan.End

Importance

Gets or sets the importance.

Declaration

cs-api-definition
public virtual Importance Importance { get; set; }

Property Value

Importance

The importance.

Implements IExtendedAppointment.Importance

IsAllDayEvent

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

Declaration

cs-api-definition
public virtual bool IsAllDayEvent { get; set; }

Property Value

bool

Implements IAppointment.IsAllDayEvent

RecurrenceRule

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

Declaration

cs-api-definition
public virtual IRecurrenceRule RecurrenceRule { get; set; }

Property Value

IRecurrenceRule

The recurrence rule.

Implements IAppointment.RecurrenceRule

Resources

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

Declaration

cs-api-definition
public virtual ResourceCollection Resources { get; }

Property Value

ResourceCollection

Start

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

Declaration

cs-api-definition
public virtual DateTime Start { get; set; }

Property Value

DateTime

Implements IAppointment.StartIDateSpan.Start

Subject

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

Declaration

cs-api-definition
public virtual string Subject { get; set; }

Property Value

string

Implements IAppointment.Subject

TimeMarker

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

Declaration

cs-api-definition
public virtual ITimeMarker TimeMarker { get; set; }

Property Value

ITimeMarker

Implements IExtendedAppointment.TimeMarker

TimeZone

Gets or sets the time zone.

Declaration

cs-api-definition
public virtual TimeZoneInfo TimeZone { get; set; }

Property Value

TimeZoneInfo

The time zone.

Implements IAppointment.TimeZone

Methods

CalculateActualDateTime(DateTime, TimeZoneInfo, bool?)

Declaration

cs-api-definition
public static object CalculateActualDateTime(DateTime date, TimeZoneInfo timeZone, bool? considerTimeZone)

Parameters

date

DateTime

timeZone

TimeZoneInfo

considerTimeZone

bool?

Returns

object

CopyFrom(IAppointment)

Deep copies all properties from other to this IAppointment.

Declaration

cs-api-definition
public override void CopyFrom(IAppointment other)

Parameters

other

IAppointment

The IAppointment which properties are copied.

Overrides EditableObjectBase<IAppointment>.CopyFrom(IAppointment)

Implements ICopyable<IAppointment>.CopyFrom(IAppointment)

Equals(IAppointment)

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

Declaration

cs-api-definition
public bool Equals(IAppointment other)

Parameters

other

IAppointment

Returns

bool

Implements IEquatable<IAppointment>.Equals(IAppointment)

OnRecurrenceRuleChanged(EventArgs)

Raises the RecurrenceRuleChanged event.

Declaration

cs-api-definition
protected virtual void OnRecurrenceRuleChanged(EventArgs args)

Parameters

args

EventArgs

The EventArgs instance containing the event data.

Events

RecurrenceRuleChanged

Occurs when RecurrenceRule status is changed.

Declaration

cs-api-definition
public event EventHandler RecurrenceRuleChanged

Event Value

EventHandler

Implements IAppointment.RecurrenceRuleChanged