Contents

DateTimePicker.BackColor Property

Notes

Gets or sets a System.Drawing.Color value that represents the background colour of the control.

Note that this property only applies to the background colour of the drop down lists, not the entire control area.

This property only works in Microsoft Internet Explorer 5 and later.

The default value is System.Drawing.Color.Empty, which indicates that this property is not set.

Syntax

[Visual Basic]
Overridable Public Property BackColor As System.Drawing.Color
[C#]
public virtual System.Drawing.Color BackColor {get; set;}
[C++]
public: __property virtual System.Drawing.Color get_BackColor();
public: __property virtual void set_BackColor(System.Drawing.Color);
[JScript]
public function get BackColor() : System.Drawing.Color;
public function set BackColor(System.Drawing.Color);

See Also

DateTimePicker Contents | DateTimePicker Overview | DateTimePicker Members


Support | Feedback | Contact Dune5 | Website

© 2001-2003 Dune5. All Rights Reserved.