Version 23.1 (latest)

ButtonStyle Class Properties

For a list of all members of this type, see ButtonStyle members.

Public Properties
 NameDescription
Public PropertyBackColorGets or sets the background color of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyBorderColorGets or sets the border color of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyBorderStyleGets or sets the border style of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyBorderWidthGets or sets the border width of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyCssClassGets or sets the cascading style sheet (CSS) class rendered by the Web server control on the client. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyCursorGets or sets the mouse cursor.  
Public PropertyFontGets the font properties associated with the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyForeColorGets or sets the foreground color (typically the color of the text) of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyHeightGets or sets the height of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertyImageHeightGets or sets the height of the button image in pixels.  
Public PropertyImageWidthGets or sets the width of the button image in pixels.  
Public PropertyIsEmptyOverridden. Checks if any property has value.  
Public PropertyMouseDownBackColorGets or sets the background color of the button when the button is clicked by the mouse.  
Public PropertyMouseDownBorderColorGets or sets the border color of the button when the button is clicked by the mouse.  
Public PropertyMouseDownBorderStyleGets or sets the border style of the button when the button is clicked by the mouse.  
Public PropertyMouseOverBackColorGets or sets the background color of the button when the mouse is placed over the button.  
Public PropertyMouseOverBorderColorGets or sets the border color of the button when the mouse is placed over the button.  
Public PropertyMouseOverBorderStyleGets or sets the border style of the button when the mouse is placed over the button.  
Public PropertyMouseUpBackColorGets or sets the background color of the button when the mouse click is released over the button.  
Public PropertyMouseUpBorderColorGets or sets the border color of the button when the mouse click is released over the button.  
Public PropertyMouseUpBorderStyleGets or sets the border style of the button when the mouse click is released over the button.  
Public PropertyRegisteredCssClassGets the cascading style sheet (CSS) class that is registered with the control. (Inherited from System.Web.UI.WebControls.Style)
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertyWidthGets or sets the width of the Web server control. (Inherited from System.Web.UI.WebControls.Style)
Protected Properties
 NameDescription
Protected PropertyCanRaiseEvents (Inherited from System.ComponentModel.Component)
Protected PropertyDesignMode (Inherited from System.ComponentModel.Component)
Protected PropertyEvents (Inherited from System.ComponentModel.Component)
Protected PropertyIsTrackingViewStateReturns a value indicating whether any style elements have been defined in the state bag. (Inherited from System.Web.UI.WebControls.Style)
See Also