WebControl.ControlStyle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.