Skybound Rebar

RebarButton Members

RebarButton overview

Public Instance Constructors

RebarButton Overloaded. Initializes a new instance of a RebarButton.

Public Instance Properties

Band Gets the RebarBand that contains this button.
Bounds Gets the bounding rectangle of this button.
ButtonType Gets or sets a value that determines the type of this button.
Checked Gets or sets whether the button is in a checked state.
Child Gets or sets the Control that acts as the child control of this button if it is a panel.
ChildPadding Gets the child control padding widths for all edges of the button.
Enabled Gets or sets whether the button is enabled.
Image Gets or sets the Image displayed on the button when the UseLargeImages property of the band is false.
LargeImage Gets or sets the Image displayed on the button when the UseLargeImages property of the band is true.
Menu Gets or sets the ContextMenu associated with this button.
Name Gets or sets the name used to identify this button in code.
Spring Gets or sets whether this item should expand to fill the maximum available width (only applies to Panel buttons).
State Gets a value that specifies the current state of this button.
Tag Gets or sets the object that contains data about the button.
Text Gets or sets the text displayed on the button and on the chevron menu.
TextSelective Gets or sets whether the button text is displayed when the band is customized to display selective text.
TextVisible Gets or sets whether the button's text is currenly visible on the button.
ToolTipText Gets or sets the tool tip displayed when the mouse hovers over the button.
Visible Gets or sets whether the button is visible.
Width Gets or sets the width of the item (only applies when ButtonType is Panel).

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetRenderer Gets an instance of RebarButtonRenderer that can be used to render this button.
GetType (inherited from Object)Gets the Type of the current instance.
LoadIconImageOverloaded. Loads specific icon images from an icon file into the button.
PerformClick Simulates the effect of clicking this button.
PerformMenuClick Simulares the effect of clicking on the menu drop-down for this button.
Refresh Forces this button to completely repaint.
ResetWidthResets the Width property to its default value.
ShouldSerializeTextVisible Gets a value that indicates whether the TextVisible property should be persisted.
ShowMenu Shows a user-specified context menu beneath this button.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
ShouldSerializeWidthIndicates whether the Width property should be persisted.

See Also

RebarButton Class | Skybound.Rebar Namespace