[]
        
(Showing Draft Content)

C1.Win.Calendar.C1DateRangeEdit.MaxValue

MaxValue Property

MaxValue

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

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

A DateTime representing the maximum 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 maximum and the current MinValue.
  • An ArgumentOutOfRangeException is thrown if the specified value is lower than the current MinValue.
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when the assigned value is lower than MinValue.