Table of Contents

Property MaxValue

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

MaxValue

Gets or sets the maximum date and time that can be selected in the control.

DateTime MaxValue { get; set; }

Property Value

DateTime

The maximum date and time that can be selected in the control. The default is determined as the minimum of the CurrentCulture's Calendar's MaxSupportedDateTime property and MaxDateTime.

Exceptions

ArgumentException

The value assigned is less than the MinDate value.

SystemException

The value assigned is greater than the MaxDateTime value.