Skybound Rebar

RebarMenuRenderer Members

RebarMenuRenderer overview

Public Instance Constructors

RebarMenuRenderer Constructor Initializes a new instance of a RebarMenuRenderer.

Public Instance Properties

BackColor (inherited from ControlRenderer) Gets or sets the background Color of the control.
Bounds (inherited from ControlRenderer) Gets or sets the bounds of the control to draw.
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.
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

DrawBorder Draws the border around a menu window on the specified Graphics surface.
DrawBreak Draws a space or separator bar between horizontal columns of menu items.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetBorderSize Returns the size of the borders drawn around a menu window. MenuBorderSize.Width specifies the size of the left and right borders, and MenuBorderSize.Height specifies the size of the top and bottom borders.
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.
GetStringFormat (inherited from ControlRenderer) Returns a StringFormat instance used to draw text on the control.
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.
RenderMenu Renders the current menu 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

DefaultBackColorThis member overrides DefaultBackColor.
DefaultFontThis member overrides DefaultFont.
DefaultForeColorThis member overrides DefaultBackColor.
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.
Use3DBorder Gets a value to indicate whether the border should be drawn using a 3D raised edge.

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

RebarMenuRenderer Class | Skybound.Rebar.Rendering Namespace