GrapeCity MultiRow Windows Forms Documentation
MaxDate Property


Gets or sets the maximum date and time that can be selected in the cell.
Syntax
<SRCategoryAttribute("Behavior")>
<SRDescriptionAttribute("Indicates the maximum date that can be selected.")>
Public Property MaxDate As Date
Dim instance As DateTimePickerCell
Dim value As Date
 
instance.MaxDate = value
 
value = instance.MaxDate
[SRCategory("Behavior")]
[SRDescription("Indicates the maximum date that can be selected.")]
public DateTime MaxDate {get; set;}

Property Value

A System.DateTime value that represents the maximum date and time that can be selected in the control. The default is 12/31/9998 0:0:0.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeExceptionThe assigned value is less than the MinDate value or greater than the System.Windows.Forms.DateTimePicker.MaxDateTime value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DateTimePickerCell Class
DateTimePickerCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.