Tab

AppearanceStyleBase Members

Serves as a base for classes that define appearance styles of different elements within web controls.

Constructors

Name Description
AppearanceStyleBase() Initializes a new instance of the AppearanceStyleBase class.

Fields

Name Description
DefaultOpacity For internal use only.

Properties

Name Description
BackColor Gets or sets the background color of the Web server control. Inherited from Style.
BackgroundImage Gets the background image defined by the current style.
Border Gets the border settings defined by the current style.
BorderBottom Gets the settings of the bottom border.
BorderLeft Gets the settings of the left border.
BorderRight Gets the settings of the right border.
BorderTop Gets the settings of the top border.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
CssClass Gets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. Inherited from Style.
Cursor Gets or sets the type of cursor to display when the mouse pointer is over the object which the current style applies to.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Font Gets the font properties associated with the Web server control. Inherited from Style.
ForeColor Gets or sets the foreground color (typically the color of the text) of the Web server control. Inherited from Style.
HorizontalAlign Gets or sets the horizontal alignment of the contents within its container.
IsEmpty Gets a value that indicates whether this AppearanceStyleBase object is initialized with the default values.
IsTrackingViewState protected Returns a value indicating whether any style elements have been defined in the state bag. Inherited from Style.
RegisteredCssClass Gets the cascading style sheet (CSS) class that is registered with the control. Inherited from Style.
Site Gets or sets the ISite of the Component. Inherited from Component.
VerticalAlign Gets or sets the vertical alignment of the contents in its container.
Wrap Gets or sets a value indicating whether the text content wraps within a container cell.

Methods

Name Description
AddAttributesToRender(HtmlTextWriter) Adds HTML attributes and styles that need to be ren