Contents

DateTimePicker.AllowNullValue Property

Notes

Gets or sets a boolean flag indicating whether the control should allow no Datetime to be selected.

If AllowNullValue is true, the control allows the user to not select a specific DateTime, by including blank (--) picker options.

Default value : FALSE.

Syntax

[Visual Basic]
Overridable Public Property AllowNullValue As Boolean
[C#]
public virtual bool AllowNullValue {get; set;}
[C++]
public: __property virtual bool get_AllowNullValue();
public: __property virtual void set_AllowNullValue(bool);
[JScript]
public function get AllowNullValue() : Boolean;
public function set AllowNullValue(Boolean);

See Also

DateTimePicker Contents | DateTimePicker Overview | DateTimePicker Members


Support | Feedback | Contact Dune5 | Website

© 2001-2003 Dune5. All Rights Reserved.