WebControl.ControlStyle Property


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

 property System::Web::UI::WebControls::Style ^ ControlStyle { System::Web::UI::WebControls::Style ^ get(); };
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.



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