Syntax
Visual Basic (Declaration) | |
---|
<WebCategoryAttribute("Appearance")>
<DefaultValueAttribute()>
<WebSysDescriptionAttribute("Color of the background of the control.")>
<TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
Public Overridable Property BackColor As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ScaleBar
Dim value As Color
instance.BackColor = value
value = instance.BackColor |
C# | |
---|
[WebCategoryAttribute("Appearance")]
[DefaultValueAttribute()]
[WebSysDescriptionAttribute("Color of the background of the control.")]
[TypeConverterAttribute("System.Web.UI.WebControls.WebColorConverter, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public virtual Color BackColor {get; set;} |
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