Class Slot
A class that represents specific time range with or without associated resources.
Inherited Members
Namespace: Telerik.Windows.Controls.ScheduleView
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class Slot : DateSpan, INotifyPropertyChanged, IDisposable, IDateSpan, ICopyable<Slot>
Constructors
Slot()
Slot(DateTime, DateTime)
Initializes a new instance of the Slot class.
Declaration
public Slot(DateTime start, DateTime end)
Parameters
System.DateTime
start
The start. |
System.DateTime
end
The end. |
Slot(DateTime, DateTime, IEnumerable)
Initializes a new instance of the Slot class.
Declaration
public Slot(DateTime start, DateTime end, IEnumerable resources)
Parameters
System.DateTime
start
The start. |
System.DateTime
end
The end. |
System.Collections.IEnumerable
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
System.DateTime
start
The start. |
System.DateTime
end
The end. |
System.Collections.IEnumerable
resources
The resources for the Slot. |
System.TimeZoneInfo
timeZone
The timeZone for the Slot. |
Slot(IDateSpan)
Initializes a new instance of the Slot class.
Declaration
public Slot(IDateSpan other)
Parameters
IDateSpan
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
IDateSpan
other
A DateSpan instance that is used for initializing the new instance. |
System.Collections.IEnumerable
resources
The resources for the Slot. |
Slot(IDateSpan, IEnumerable, TimeZoneInfo)
Declaration
public Slot(IDateSpan other, IEnumerable resources, TimeZoneInfo timeZone)
Parameters
IDateSpan
other
|
System.Collections.IEnumerable
resources
|
System.TimeZoneInfo
timeZone
|
Slot(IOccurrence)
Slot(Slot)
Initializes a new instance of the Slot class.
Declaration
public Slot(Slot other)
Parameters
Slot
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
System.Boolean
|
RecurrencePattern
Gets or sets the recurrence pattern.
Declaration
public RecurrencePattern RecurrencePattern { get; set; }
Property Value
RecurrencePattern
The recurrence pattern. |
Resources
Gets the resources.
Declaration
public ObservableCollection<object> Resources { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.Object>
The resources. |
TimeZone
Gets or sets the appointment time zone.
Declaration
public TimeZoneInfo TimeZone { get; set; }
Property Value
System.TimeZoneInfo
The appointment time zone. |
Methods
Copy()
CopyFrom(Slot)
Deep copies all properties from other
to this Slot.
Declaration
public virtual void CopyFrom(Slot other)
Parameters
Slot
other
The Slot which properties are copied. |
Implements
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
Exceptions
System.NullReferenceException
The |