Intersoft ClientUI Documentation
MaxValue Property
See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace > UXDateTimeEditor Class : MaxValue Property






Gets or sets the maximum DateTime value.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("Intersoft.Client.Framework.DateTimeTypeConverter, Intersoft.Client.Framework, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")>
<CategoryAttribute("Common Properties")>
Public Property MaxValue As Nullable(Of Date)
Visual Basic (Usage)Copy Code
Dim instance As UXDateTimeEditor
Dim value As Nullable(Of Date)
 
instance.MaxValue = value
 
value = instance.MaxValue
C# 
[TypeConverterAttribute("Intersoft.Client.Framework.DateTimeTypeConverter, Intersoft.Client.Framework, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
[CategoryAttribute("Common Properties")]
public Nullable<DateTime> MaxValue {get; set;}
Delphi 
public read-write property MaxValue: Nullable; 
JScript 
TypeConverterAttribute("Intersoft.Client.Framework.DateTimeTypeConverter, Intersoft.Client.Framework, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")
CategoryAttribute("Common Properties")
public function get,set MaxValue : Nullable
Managed Extensions for C++ 
[TypeConverterAttribute("Intersoft.Client.Framework.DateTimeTypeConverter, Intersoft.Client.Framework, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
[CategoryAttribute("Common Properties")]
public: __property Nullable<DateTime> get_MaxValue();
public: __property void set_MaxValue( 
   Nullable<DateTime> value
);
C++/CLI 
[TypeConverterAttribute("Intersoft.Client.Framework.DateTimeTypeConverter, Intersoft.Client.Framework, Version=3.0.5000.1, Culture=neutral, PublicKeyToken=c3d9b11444163e76")]
[CategoryAttribute("Common Properties")]
public:
property Nullable<DateTime> MaxValue {
   Nullable<DateTime> get();
   void set (    Nullable<DateTime> value);
}

Remarks

MaxValue property is available if you wish to limit the accepted date time value, by default this value is null so any valid date time value is accepted. Inputting date time value outside the accepted range cause the UXDateTimeEditor to throw an error.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.