Interface
IEvent

Represents a interface that an object should implement in order to be used as a schedule object in RadScheduler.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

cs-api-definition
public interface IEvent : IDataBoundItem, INotifyPropertyChanged

Inherited Members IDataBoundItem.SetDataItem(object)IDataBoundItem.DataItemINotifyPropertyChanged.PropertyChanged

Properties

AllDay

Gets or sets a value indicating whether this event is an all day event.

Declaration

cs-api-definition
bool AllDay { get; set; }

Property Value

bool

AllowDelete

Gets or sets a value indicating whether this event can be deleted.

Declaration

cs-api-definition
bool AllowDelete { get; set; }

Property Value

bool

true if this event can be deleted; otherwise, false.

AllowEdit

Gets or sets a value indicating whether this event can be edited.

Declaration

cs-api-definition
bool AllowEdit { get; set; }

Property Value

bool

true if this event can be edited; otherwise, false.

BackgroundId

Gets or sets the background id.

Declaration

cs-api-definition
int BackgroundId { get; set; }

Property Value

int

The background id.

CultureInfoProvider

Gets or sets the culture info provider.

Declaration

cs-api-definition
ICultureInfoProvider CultureInfoProvider { get; set; }

Property Value

ICultureInfoProvider

The culture info provider.

Description

Gets or sets the description.

Declaration

cs-api-definition
string Description { get; set; }

Property Value

string

The description.

Duration

Gets or sets the duration of the event.

Declaration

cs-api-definition
TimeSpan Duration { get; set; }

Property Value

TimeSpan

The duration of the event.

End

Gets or sets the end of the event.

Declaration

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

Property Value

DateTime

The end of the event.

Exceptions

Gets the exceptions.

Declaration

cs-api-definition
ObservableCollection<IEvent> Exceptions { get; }

Property Value

ObservableCollection<IEvent>

The exceptions.

Location

Gets or sets the location.

Declaration

cs-api-definition
string Location { get; set; }

Property Value

string

The location.

MasterEvent

Gets the master event.

Declaration

cs-api-definition
IEvent MasterEvent { get; }

Property Value

IEvent

The master event.

Occurrences

Gets the occurrences.

Declaration

cs-api-definition
IEnumerable<IEvent> Occurrences { get; }

Property Value

IEnumerable<IEvent>

The occurrences.

RecurrenceId

Gets or sets the recurrent Id date for this event.

Declaration

cs-api-definition
DateTime? RecurrenceId { get; set; }

Property Value

DateTime?

RecurrenceRule

Gets or sets the recurrence rule.

Declaration

cs-api-definition
RecurrenceRule RecurrenceRule { get; set; }

Property Value

RecurrenceRule

The recurrence rule.

ResourceId

Gets or sets the resource id.

Declaration

cs-api-definition
EventId ResourceId { get; set; }

Property Value

EventId

The resource id.

ResourceIds

Declaration

cs-api-definition
ObservableCollection<EventId> ResourceIds { get; }

Property Value

ObservableCollection<EventId>

Start

Gets or sets the start of the event.

Declaration

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

Property Value

DateTime

The start of the event.

StatusId

Gets or sets the status id.

Declaration

cs-api-definition
int StatusId { get; set; }

Property Value

int

The status id.

Summary

Gets or sets the summary.

Declaration

cs-api-definition
string Summary { get; set; }

Property Value

string

The summary.

TimeZone

Gets or sets the time zone for this event.

Declaration

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

Property Value

TimeZoneInfo

ToolTipText

Gets or sets the tool tip text.

Declaration

cs-api-definition
string ToolTipText { get; set; }

Property Value

string

The tool tip text.

UniqueId

Gets or sets the unique id of this event.

Declaration

cs-api-definition
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

cs-api-definition
bool Visible { get; set; }

Property Value

bool

true if visible; otherwise, false.

Methods

AddOccurrenceException(IEvent, bool)

Makes the specified occurrence an exception.

Declaration

cs-api-definition
void AddOccurrenceException(IEvent occurrence, bool addExceptionDate)

Parameters

occurrence

IEvent

The occurrence which will be made an exception.

addExceptionDate

bool

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

cs-api-definition
IEvent CreateOccurrence(DateTime start)

Parameters

start

DateTime

The start date of the occurrence.

Returns

IEvent

CreateOccurrence(DateTime, bool)

Creates a occurrence of this event.

Declaration

cs-api-definition
IEvent CreateOccurrence(DateTime start, bool exception)

Parameters

start

DateTime

The start date of the occurrence.

exception

bool

Determine whether the occurence is exception.

Returns

IEvent