ClassSlot
A class that represents specific time range with or without associated resources.
Definition
Namespace:Telerik.Windows.Controls.ScheduleView
Assembly:Telerik.Windows.Controls.ScheduleView.dll
Syntax:
public class Slot : DateSpan, INotifyPropertyChanged, IDisposable, IDateSpan, ICopyable<Slot>
Inheritance: objectViewModelBaseDateSpanSlot
Derived Classes:
Implements:
Inherited Members
Constructors
Slot(DateTime, DateTime)
Initializes a new instance of the Slot class.
Slot(DateTime, DateTime, IEnumerable)
Initializes a new instance of the Slot class.
Declaration
public Slot(DateTime start, DateTime end, IEnumerable resources)
Parameters
start
The start.
end
The end.
resources
The resources for the Slot.
Slot(DateTime, DateTime, IEnumerable, TimeZoneInfo)
Initializes a new instance of the Slot class.
Declaration
public Slot(DateTime start, DateTime end, IEnumerable resources, TimeZoneInfo timeZone)
Parameters
start
The start.
end
The end.
resources
The resources for the Slot.
timeZone
The timeZone for the Slot.
Slot(IDateSpan)
Initializes a new instance of the Slot class.
Declaration
public Slot(IDateSpan other)
Parameters
other
A DateSpan instance that is used for initializing the new instance.
Slot(IDateSpan, IEnumerable)
Initializes a new instance of the Slot class.
Declaration
public Slot(IDateSpan other, IEnumerable resources)
Parameters
other
A DateSpan instance that is used for initializing the new instance.
resources
The resources for the Slot.
Slot(IDateSpan, IEnumerable, TimeZoneInfo)
Declaration
public Slot(IDateSpan other, IEnumerable resources, TimeZoneInfo timeZone)
Parameters
other
resources
timeZone
Slot(Slot)
Initializes a new instance of the Slot class.
Declaration
public Slot(Slot other)
Parameters
other
Another slot that is used for initializing the new instance.
Properties
IsReadOnly
Gets or sets a value indicating whether this slot is read only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
True if this slot is read only; otherwise, False.
RecurrencePattern
Gets or sets the recurrence pattern.
Declaration
public RecurrencePattern RecurrencePattern { get; set; }
Property Value
The recurrence pattern.
Resources
Gets the resources.
Declaration
public ObservableCollection<object> Resources { get; }
Property Value
The resources.
TimeZone
Gets or sets the appointment time zone.
Declaration
public TimeZoneInfo TimeZone { get; set; }
Property Value
The appointment time zone.
Methods
Copy()
Copies this instance.
CopyFrom(Slot)
Deep copies all properties from other to this Slot.
Equals(object)
Determines whether the specified object is equal to this instance.