[]
Represents a definition of a minimal indivisible time interval represented by the C1Scheduler.
public class VisualInterval : DependencyObject, INotifyPropertyChanged, IWeakEventListener
The instances of this class are used as DataContext for the VisualIntervalTemplate.
| Name | Description |
|---|---|
| VisualInterval(C1Scheduler, SchedulerGroupItem, DateTime, TimeSpan) | Creates a new VisualInterval object for the specified C1Scheduler that represents the specified time range. |
| Name | Description |
|---|---|
| IsSelectedProperty | Identifies the IsSelected dependency property. |
| StartTimeInfoProperty | Identifies the StartTimeInfoProperty dependency property. |
| StatusBrushProperty | Identifies the StatusBrush dependency property. |
| TotalStatusBrushProperty | Identifies the TotalStatusBrush dependency property. |
| _isDisposed | |
| _scheduler |
| Name | Description |
|---|---|
| Appointments | Gets a collection of IntervalAppointment objects representing appointments whose time range is intersected with the time range of this VisualInterval. |
| Culture | Gets a CultureInfo. |
| EndTime | Gets an end time of a time range represented by the VisualInterval object. |
| EndTimeInfo | Gets a DateTimeInfo object containing auxiliary properties for a usage in XAML that provides additional information for the EndTime property value. |
| InclusiveEndTime | Gets an inclusive end time of a time range represented by the VisualInterval object. |
| InclusiveEndTimeInfo | Gets a DateTimeInfo object containing auxiliary properties for a usage in XAML that provides additional information for the EndTimeInfo property value. |
| Index | Gets an index of VisualInterval in the owning VisualIntervals collection. |
| IsSelected | Gets or sets a value that determines whether the UI element that has this VisualInterval as a DataContext is selected. This is a dependency property. |
| IsToday | Indicates whether the VisualInterval represents the current day. |
| Items | Virtual property returns null in this class implementation. |
| OwnerGroup | Gets the owning SchedulerGroupItem object. |
| Scheduler | Gets the Scheduler that VisualInterval belongs to. |
| StartTime | Gets a start time of a time range represented by the VisualInterval object. |
| StartTimeInfo | Gets a DateTimeInfo object containing auxiliary properties for a usage in XAML that provides additional information for the StartTime property value. |
| StatusBrush | Gets the Brush object representing interval availability status. Only honors all-day and multi-day events availability status. This is a dependency property. |
| TimeScale | Gets a TimeSpan of a time range represented by the VisualInterval object. |
| TotalStatusBrush | Gets the Brush object representing interval availability status. Honors status of all appointments in the interval. This is a dependency property. |
| Name | Description |
|---|---|
| ContainsTime(DateTime) | Gets a value indicating whether the specified DateTime belongs to the time range represented by the VisualInterval. |
| ReceiveWeakEvent(Type, object, EventArgs) | Receives events from the centralized event manager. |
| Name | Description |
|---|---|
| PropertyChanged | Occurs when property value is changed. |