WebControl.ControlStyle Property

Definition

Gets the style of the Web server control. This property is used primarily by control developers.

public:
 property System::Web::UI::WebControls::Style ^ ControlStyle { System::Web::UI::WebControls::Style ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Web.UI.WebControls.Style ControlStyle { get; }
[<System.ComponentModel.Browsable(false)>]
member this.ControlStyle : System.Web.UI.WebControls.Style
Public ReadOnly Property ControlStyle As Style

Property Value

A Style that encapsulates the appearance properties of the Web server control.

Attributes

Remarks

The ControlStyle property encapsulates all properties of the WebControl class that specify the appearance of the control, such as BorderColor and Font.

Applies to

See also