[]
        
(Showing Draft Content)

C1.Win.Calendar.C1DateRangeEdit.MinValue

MinValue Property

MinValue

Gets or sets the minimum selected date in a range selection.

Declaration
[Bindable(BindableSupport.Yes)]
public DateTime? MinValue { get; set; }
<Bindable(BindableSupport.Yes)>
Public Property MinValue As Date?
Property Value
Type Description
DateTime?

A DateTime representing the minimum selected date, or null if no range is selected.

Remarks

When setting this property:

  • If null, the current range is cleared.
  • If a value is provided, a new range is created using the specified minimum and the current MaxValue.
  • An ArgumentOutOfRangeException is thrown if the specified value is greater than the current MaxValue.
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when the assigned value is greater than MaxValue.