Class Event
Represents a base class for schedule event objects.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public class Event : IEvent, IDataBoundItem, IRemindObject, INotifyPropertyChanged
Constructors
Event()
Declaration
public Event()
Fields
isAllDay
Declaration
protected bool isAllDay
Field Value
System.Boolean
|
occurrenceEnumerator
Properties
AllDay
Gets or sets a value indicating whether this is an all-day event.
Declaration
public virtual bool AllDay { get; set; }
Property Value
System.Boolean
|
Implements
AllowDelete
Gets or sets a value indicating whether this event can be deleted.
Declaration
public virtual bool AllowDelete { get; set; }
Property Value
System.Boolean
|
Implements
AllowEdit
Gets or sets a value indicating whether this event can be edited.
Declaration
public virtual bool AllowEdit { get; set; }
Property Value
System.Boolean
|
Implements
BackgroundId
Gets or sets the background id.
Declaration
public virtual int BackgroundId { get; set; }
Property Value
System.Int32
The background id. |
Implements
CultureInfoProvider
Gets or sets the culture info provider.
Declaration
public ICultureInfoProvider CultureInfoProvider { get; set; }
Property Value
ICultureInfoProvider
The culture info provider. |
Implements
DataItem
Declaration
public object DataItem { get; }
Property Value
System.Object
|
Implements
Description
Gets or sets the description.
Declaration
public virtual string Description { get; set; }
Property Value
System.String
The description. |
Implements
Dismissed
Gets or sets a value indicating whether the reminder of this IRemindObject is dismissed.
Declaration
public virtual bool Dismissed { get; set; }
Property Value
System.Boolean
|
Implements
DismissedAppointments
Gets the dismissed state of recurring appointments.
Declaration
public Dictionary<int, bool> DismissedAppointments { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.Boolean>
The dismissed appointments. |
Duration
Gets or sets the duration of the event.
Declaration
public virtual TimeSpan Duration { get; set; }
Property Value
System.TimeSpan
The duration of the event. |
Implements
End
Gets or sets the end of the event.
Declaration
public virtual DateTime End { get; set; }
Property Value
System.DateTime
The end of the event. |
Implements
Exceptions
Gets the exceptions.
Declaration
public virtual ObservableCollection<IEvent> Exceptions { get; }
Property Value
ObservableCollection<IEvent>
The exceptions. |
Implements
IsSuspended
Gets a value indicating whether property change notification are suspended.
Declaration
public virtual bool IsSuspended { get; }
Property Value
System.Boolean
|
IsViewCalculated
Declaration
public virtual bool IsViewCalculated { get; set; }
Property Value
System.Boolean
|
Location
Gets or sets the location.
Declaration
public virtual string Location { get; set; }
Property Value
System.String
The location. |
Implements
MasterEvent
Gets the master event.
Declaration
public IEvent MasterEvent { get; }
Property Value
IEvent
The master event. |
Implements
Occurrences
Gets the occurrences.
Declaration
public virtual IEnumerable<IEvent> Occurrences { get; }
Property Value
System.Collections.Generic.IEnumerable<IEvent>
The occurrences. |
Implements
RecurrenceId
Gets or sets the recurrence Id date.
Declaration
public virtual DateTime? RecurrenceId { get; set; }
Property Value
System.Nullable<System.DateTime>
The recurrence Id date. |
Implements
RecurrenceRule
Gets or sets the recurrence rule.
Declaration
public virtual RecurrenceRule RecurrenceRule { get; set; }
Property Value
RecurrenceRule
The recurrence rule. |
Implements
Reminder
Gets or sets a time span value indicating how much time before the start of this IRemindObject the reminder should be triggered.
Declaration
public virtual TimeSpan? Reminder { get; set; }
Property Value
System.Nullable<System.TimeSpan>
The reminder. |
Implements
ReminderAppointments
Gets the reminder state of recurring appointments.
Declaration
public Dictionary<int, TimeSpan? > ReminderAppointments { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.Nullable<System.TimeSpan>>
The reminder appointments. |
RemindId
Gets the remind identifier used for identifying the reminder of this event.
Declaration
public int RemindId { get; }
Property Value
System.Int32
The remind identifier. |
Implements
ResourceId
Gets or sets the resource id.
Declaration
public virtual EventId ResourceId { get; set; }
Property Value
EventId
The resource id. |
Implements
ResourceIds
Gets the resource ids.
Declaration
public virtual ObservableCollection<EventId> ResourceIds { get; }
Property Value
ObservableCollection<EventId>
The resource ids. |
Implements
Snoozed
Gets or sets a time span indicating the amount of time the reminder of this IRemindObject is snoozed for.
Declaration
public virtual TimeSpan Snoozed { get; set; }
Property Value
System.TimeSpan
The snoozed time. |
Implements
SnoozedAppointments
Gets the snooze time for each recurring appointments.
Declaration
public Dictionary<int, TimeSpan> SnoozedAppointments { get; }
Property Value
System.Collections.Generic.Dictionary<System.Int32, System.TimeSpan>
The snoozed appointments. |
Start
Gets or sets the start of the event.
Declaration
public virtual DateTime Start { get; set; }
Property Value
System.DateTime
The start of the event. |
Implements
StartDateTime
Gets the start date time when this IRemindObject starts.
Declaration
public virtual DateTime StartDateTime { get; }
Property Value
System.DateTime
The start date time. |
Implements
StatusId
Gets or sets the status id.
Declaration
public virtual int StatusId { get; set; }
Property Value
System.Int32
The status id. |
Implements
Subject
Gets the subject of this remind object. This text is usually displayed when visualizing a reminder.
Declaration
public virtual string Subject { get; }
Property Value
System.String
The subject. |
Implements
Summary
Gets or sets the summary.
Declaration
public virtual string Summary { get; set; }
Property Value
System.String
The summary. |
Implements
ToolTipText
Gets or sets the tool tip text.
Declaration
public virtual string ToolTipText { get; set; }
Property Value
System.String
The tool tip text. |
Implements
UniqueId
Gets or sets the unique id of this event.
Declaration
public virtual EventId UniqueId { get; set; }
Property Value
EventId
The unique id of this event. |
Implements
Visible
Gets or sets a value indicating whether this IEvent is visible.
Declaration
public virtual bool Visible { get; set; }
Property Value
System.Boolean
|
Implements
Methods
AddOccurrenceException(IEvent, Boolean)
Declaration
public virtual void AddOccurrenceException(IEvent occurrence, bool addExceptionDate)
Parameters
IEvent
occurrence
|
System.Boolean
addExceptionDate
|
Implements
CreateOccurrence(DateTime)
Creates a occurrence of this event.
Declaration
public virtual IEvent CreateOccurrence(DateTime start)
Parameters
System.DateTime
start
The start date of the occurrence. |
Returns
IEvent
|
Implements
CreateOccurrence(DateTime, Boolean)
Creates a occurrence of this event.
Declaration
public virtual IEvent CreateOccurrence(DateTime start, bool exception)
Parameters
System.DateTime
start
The start date of the occurrence. |
System.Boolean
exception
|
Returns
IEvent
|
Implements
CreateOccurrenceInstance()
GetOccurrences(DateTime, DateTime)
Gets the occurrences in a given period.
Declaration
public virtual IEnumerable<IEvent> GetOccurrences(DateTime from, DateTime to)
Parameters
System.DateTime
from
Start of the period. |
System.DateTime
to
End of the period. |
Returns
System.Collections.Generic.IEnumerable<IEvent>
|
OnPropertyChanged(String)
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
ResumeNotifications()
Resumes property notifications if they have been previously suspended.
Declaration
public virtual void ResumeNotifications()
SuspendNotifications()
Suspends property change notifications.
Declaration
public virtual void SuspendNotifications()
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|
Explicit Interface Implementations
IDataBoundItem.SetDataItem(Object)
Declaration
void IDataBoundItem.SetDataItem(object dataItem)
Parameters
System.Object
dataItem
|