WebControl.ControlStyle WebControl.ControlStyle WebControl.ControlStyle 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; }
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.

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