Interface IEvent
Represents a interface that an object should implement in order to be used as a schedule object in RadScheduler.
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.Scheduler.dll
Syntax
public interface IEvent : IDataBoundItem, INotifyPropertyChanged
Properties
AllDay
Gets or sets a value indicating whether this event is an all day event.
Declaration
bool AllDay { get; set; }
Property Value
System.Boolean
|
AllowDelete
Gets or sets a value indicating whether this event can be deleted.
Declaration
bool AllowDelete { get; set; }
Property Value
System.Boolean
|
AllowEdit
Gets or sets a value indicating whether this event can be edited.
Declaration
bool AllowEdit { get; set; }
Property Value
System.Boolean
|
BackgroundId
Gets or sets the background id.
Declaration
int BackgroundId { get; set; }
Property Value
System.Int32
The background id. |
CultureInfoProvider
Gets or sets the culture info provider.
Declaration
ICultureInfoProvider CultureInfoProvider { get; set; }
Property Value
ICultureInfoProvider
The culture info provider. |
Description
Gets or sets the description.
Declaration
string Description { get; set; }
Property Value
System.String
The description. |
Duration
Gets or sets the duration of the event.
Declaration
TimeSpan Duration { get; set; }
Property Value
System.TimeSpan
The duration of the event. |
End
Gets or sets the end of the event.
Declaration
DateTime End { get; set; }
Property Value
System.DateTime
The end of the event. |
Exceptions
Gets the exceptions.
Declaration
ObservableCollection<IEvent> Exceptions { get; }
Property Value
ObservableCollection<IEvent>
The exceptions. |
Location
Gets or sets the location.
Declaration
string Location { get; set; }
Property Value
System.String
The location. |
MasterEvent
Gets the master event.
Declaration
IEvent MasterEvent { get; }
Property Value
IEvent
The master event. |
Occurrences
Gets the occurrences.
Declaration
IEnumerable<IEvent> Occurrences { get; }
Property Value
System.Collections.Generic.IEnumerable<IEvent>
The occurrences. |
RecurrenceId
Gets or sets the recurrent Id date for this event.
Declaration
DateTime? RecurrenceId { get; set; }
Property Value
System.Nullable<System.DateTime>
|
RecurrenceRule
Gets or sets the recurrence rule.
Declaration
RecurrenceRule RecurrenceRule { get; set; }
Property Value
RecurrenceRule
The recurrence rule. |
ResourceId
Gets or sets the resource id.
Declaration
EventId ResourceId { get; set; }
Property Value
EventId
The resource id. |
ResourceIds
Declaration
ObservableCollection<EventId> ResourceIds { get; }
Property Value
ObservableCollection<EventId>
|
Start
Gets or sets the start of the event.
Declaration
DateTime Start { get; set; }
Property Value
System.DateTime
The start of the event. |
StatusId
Gets or sets the status id.
Declaration
int StatusId { get; set; }
Property Value
System.Int32
The status id. |
Summary
Gets or sets the summary.
Declaration
string Summary { get; set; }
Property Value
System.String
The summary. |
TimeZone
Gets or sets the time zone for this event.
Declaration
TimeZoneInfo TimeZone { get; set; }
Property Value
TimeZoneInfo
|
ToolTipText
Gets or sets the tool tip text.
Declaration
string ToolTipText { get; set; }
Property Value
System.String
The tool tip text. |
UniqueId
Gets or sets the unique id of this event.
Declaration
EventId UniqueId { get; set; }
Property Value
EventId
The unique id of this event. |
Visible
Gets or sets a value indicating whether this IEvent is visible.
Declaration
bool Visible { get; set; }
Property Value
System.Boolean
|
Methods
AddOccurrenceException(IEvent, Boolean)
Makes the specified occurrence an exception.
Declaration
void AddOccurrenceException(IEvent occurrence, bool addExceptionDate)
Parameters
IEvent
occurrence
The occurrence which will be made an exception. |
System.Boolean
addExceptionDate
Indicates whether the start date of the occurrence should be added to the ExceptionDates of the recurrence rule. |
CreateOccurrence(DateTime)
Creates a occurrence of this event.
Declaration
IEvent CreateOccurrence(DateTime start)
Parameters
System.DateTime
start
The start date of the occurrence. |
Returns
IEvent
|
CreateOccurrence(DateTime, Boolean)
Creates a occurrence of this event.
Declaration
IEvent CreateOccurrence(DateTime start, bool exception)
Parameters
System.DateTime
start
The start date of the occurrence. |
System.Boolean
exception
Determine whether the occurence is exception. |
Returns
IEvent
|