Skip to main content
Tab

ButtonControlStyle Properties

Contains style settings that define the button appearance.
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. Inherited from AppearanceStyleBase.
Border Gets the border settings defined by the current style. Inherited from AppearanceStyleBase.
BorderBottom Gets the settings of the bottom border. Inherited from AppearanceStyleBase.
BorderLeft Gets the settings of the left border. Inherited from AppearanceStyleBase.
BorderRight Gets the settings of the right border. Inherited from AppearanceStyleBase.
BorderTop Gets the settings of the top border. Inherited from AppearanceStyleBase.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
CheckedStyle Gets the style settings which define a button’s appearance in the checked state.
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. Inherited from AppearanceStyleBase.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DisabledStyle Contains the style settings which define a button’s appearance in the disabled state. Inherited from ButtonStyle.
Empty static This property is not in effect for the AppearanceStyle class. Inherited from AppearanceStyle.
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. Inherited from AppearanceStyleBase.
HoverStyle Gets the style settings which define a button’s appearance in the hover state.
ImageSpacing Gets or sets the amount of space between a display image and text within a button.
IsEmpty Gets a value that indicates whether this AppearanceStyleBase object is initialized with the default values. Inherited from AppearanceStyleBase.
IsTrackingViewState protected Returns a value indicating whether any style elements have been defined in the state bag. Inherited from Style.
Paddings Gets the padding settings of the current style. Inherited from AppearanceStyle.
PressedStyle Gets the style settings which define a button’s appearance in the pressed state.
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.
Spacing Gets or sets the spacing between the elements in the corresponding object.
VerticalAlign Gets or sets the vertical alignment of the contents in its container. Inherited from AppearanceStyleBase.
Width Gets or sets the button’s width.
Wrap Indicates whether the text content wraps in a container cell. Inherited from AppearanceStyleBase.
See Also