Skybound Rebar

RebarBandRenderer Members

RebarBandRenderer overview

Public Static (Shared) Properties

ChevronWidth Gets the width of a chevron button.

Public Instance Constructors

RebarBandRenderer Overloaded. Initializes a new instance of the RebarBandRenderer class.

Public Instance Properties

BackColor (inherited from ControlRenderer) Gets or sets the background Color of the control.
BandType Gets or sets whether the band is a toolbar or menu bar.
Bounds (inherited from ControlRenderer) Gets or sets the bounds of the control to draw.
ChevronState Gets or sets the state of the chevron button on the band.
Control (inherited from ControlRenderer) Gets or sets the control being rendered.
Enabled (inherited from ControlRenderer) Gets or sets whether the control is enabled.
Focused (inherited from ControlRenderer) Gets or sets whether the control has the focus.
Font (inherited from ControlRenderer) Gets or sets the Font used to draw text on the control.
ForeColor (inherited from ControlRenderer) Gets or sets the Color used to draw text on the control.
HasSizeGrip Gets or sets whether the band has a size grip.
Image (inherited from ControlRenderer) Gets or sets the Image displayed on the control.
RightToLeft (inherited from ControlRenderer) Gets or sets whether the control's elements are aligned to support locales that use right-to-left text.
ShowFocusCues (inherited from ControlRenderer) Gets or sets a value that specifies whether focus cues are drawn on the control.
ShowKeyboardCues (inherited from ControlRenderer) Gets or sets a value that specifies whether keyboard cues are drawn on the control.
Text (inherited from ControlRenderer) Gets or sets the text displayed on the control.
TextMode (inherited from ControlRenderer) Gets or sets a value that determines whether text is drawn by the .NET framework or the operating system.
UseVisualStyles (inherited from ControlRenderer) Gets or sets whether visual styles should be used to draw the control when they are supported by the operating system.

Public Instance Methods

DrawBackground Draws the band background onto a specified Graphics object.
DrawChevron Draws the chevron button for the band onto a specified Graphics object.
DrawImage Draws the image for the band onto a specified Graphics object.
DrawSizeGrip Draws the size grip for the band onto a specified Graphics object.
DrawText Draws the text for the band onto a specified Graphics object.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBackgroundRectangle Returns the bounds of the background for the band (the bounding rectangle for the entire band, less the size of the border).
GetChevronRectangle Returns the bounds of the chevron button for the band.
GetClientRectangle Returns the bounds of the client area for the band.
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.
GetImageRectangle Returns the bounds of the image for the band.
GetSizeGripRectangle Returns the bounds of the size grip for the band.
GetStringFormat (inherited from ControlRenderer) Returns a StringFormat instance used to draw text on the control.
GetTextRectangle Returns the bounds of the text for the band.
GetTextRenderFlags (inherited from ControlRenderer) Gets a TextRenderFlags value which can be passed to DrawText or MeasureText in order to draw text on the current control.
GetType (inherited from Object)Gets the Type of the current instance.
MeasureTextExact (inherited from ControlRenderer) Measures the exact width of the text in the current ControlRenderer instance.
RenderBand Renders the current rebar band onto a specified Graphics object.
RtlTranslate (inherited from ControlRenderer)Overloaded. Translates a rectangle within the bounds of the current renderer to support right-to-left layouts.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Properties

DefaultBackColor (inherited from ControlRenderer) Gets the default value of the BackColor property when no specific value is assigned.
DefaultFont (inherited from ControlRenderer) Gets the default value of the Font property when no specific value is assigned.
DefaultForeColorThis member overrides DefaultForeColor.
ShouldRenderBackColor (inherited from ControlRenderer) Gets a value that indicates whether the background should be rendered using the color specified by the BackColor property.
ShouldRenderText (inherited from ControlRenderer) Gets a value that indicates whether text should be rendered.
ShouldUseVisualStyles (inherited from ControlRenderer) Gets whether visual styles should be used to draw the control.

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.

See Also

RebarBandRenderer Class | Skybound.Rebar.Rendering Namespace