Export (0) Print
Expand All

Style Properties

The Style type exposes the following members.

  Name Description
Public property BackColor Gets or sets the background color of the Web server control.
Public property BorderColor Gets or sets the border color of the Web server control.
Public property BorderStyle Gets or sets the border style of the Web server control.
Public property BorderWidth Gets or sets the border width of the Web server control.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property CssClass Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property Font Gets the font properties associated with the Web server control.
Public property ForeColor Gets or sets the foreground color (typically the color of the text) of the Web server control.
Public property Height Gets or sets the height of the Web server control.
Public property IsEmpty Infrastructure. A protected property. Gets a value indicating whether any style elements have been defined in the state bag.
Protected property IsTrackingViewState Returns a value indicating whether any style elements have been defined in the state bag.
Public property RegisteredCssClass Gets the cascading style sheet (CSS) class that is registered with the control.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Protected property ViewState Infrastructure. Gets the state bag that holds the style elements.
Public property Width Gets or sets the width of the Web server control.
Top

  Name Description
Explicit interface implemetation Private property IStateManager.IsTrackingViewState Gets a value that indicates whether a server control is tracking its view state changes.
Top
Show:
© 2014 Microsoft