SchedulerControl.LimitInterval Property
Gets or sets the time interval available to end-users.
Namespace: DevExpress.Xpf.Scheduler
Assembly: DevExpress.Xpf.Scheduler.v14.2.dll
#Declaration
[TypeConverter(typeof(ExpandableObjectConverter))]
[XtraSerializableProperty(XtraSerializationVisibility.Content, XtraSerializationFlags.DefaultValue)]
public TimeInterval LimitInterval { get; set; }
#Property Value
Type | Description |
---|---|
Time |
A DevExpress. |
#Remarks
Use the LimitInterval property to prevent end-users from operation beyond the specified time interval and block the view of appointments for dates outside this interval. When specifying the interval, you should not exceed the real-life time range which is common for the System.DateTime value type: from 12:00:00 midnight, January 1, 0001 Anno Domini (Common Era) to 11:59:59 P.M., December 31, 9999 A.D. (C.E.)
#Examples
This example demonstrates how to set the scheduler's limit interval with the specified start date and duration, using the SchedulerControl.LimitInterval property.
<dxsch:SchedulerControl.LimitInterval>
<dxschcore:TimeInterval Start="11/25/2011" Duration="5"/>
</dxsch:SchedulerControl.LimitInterval>