Expand All | Contact All

GButton Class

Constructors

  Name Description
GButton Initializes new instance of the GButton control.

Methods

  Name Description
setBackgroundForState(CodeWonders.Sidebar.Controls.GButton.ButtonStates, System.Drawing.Image) Sets the passed image as the background image for the passed button state.

Properties

  Name Description
System.Drawing.Color BackgroundColor Gets or sets the button's background color.
System.Drawing.Color BackgroundColorDown Gets or sets the button's background color for the pressed down state.
System.Drawing.Color BackgroundColorHover Gets or sets the button's background color for the hovered state.
System.Drawing.Image BackgroundImage Gets or sets the control's background image.
System.Drawing.Image BackgroundImageDown Gets or sets the buttons background image for the down state.
System.Drawing.Image BackgroundImageHover Gets or sets the buttons background image for the hover state.
System.Drawing.Color Bordercolor Gets or sets the control's border color.
CodeWonders.Sidebar.Controls.GButton.ButtonStates ButtonState Gets or sets the button's state. {Normal, Hover, Down}
System.Drawing.Font Font Gets or sets the control's font.
string Text Gets or sets the control's text.
System.Drawing.Color TextColor Gets or sets the control's text color.
CodeWonders.Sidebar.Controls.GButton.TextPositions TextPosition Gets or sets the control's text position.