ComponentOne DateTimeEditors for WPF
C1.WPF.DateTimeEditors Namespace / C1TimeEditor Class / CycleChangesOnBoundaries Property

In This Topic
    CycleChangesOnBoundaries Property (C1TimeEditor)
    In This Topic
    Determines the C1TimeEditor behavior at changing its value by up/down buttons or arrow keys when Value property is equal to Minimum or Maximum property value. The default is true.
    Syntax
    'Declaration
     
    
    Public Property CycleChangesOnBoundaries As Boolean
    public bool CycleChangesOnBoundaries {get; set;}
    Remarks
    By default, if C1TimeEditor.Value property reaches C1TimeEditor.Maximum property value, the next click on Up button will cause changing C1TimeEditor.Value property to C1TimeEditor.Minimum property value. If CycleChangesOnBoundaries property value is false and C1TimeEditor.Value property equals to C1TimeEditor.Maximum property value, all clicks on Up button will be ignored. The same behavior is true for the Down button and Minimum property.
    See Also