Persistate API documentation
PToolStripRenderer Class
NamespacesPersistate.UI.DesktopPToolStripRenderer

[This is preliminary documentation and is subject to change.]

This renderer for ToolStrips applies a TextStyle to rendered items.
Declaration Syntax
C#
public class PToolStripRenderer : ToolStripProfessionalRenderer
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
PToolStripRenderer()()()()
Initializes a new instance of the PToolStripRenderer class

ColorTable
Gets the color palette used for painting.
(Inherited from ToolStripProfessionalRenderer.)
DrawArrow(ToolStripArrowRenderEventArgs)
Draws an arrow on a ToolStripItem.
(Inherited from ToolStripRenderer.)
DrawButtonBackground(ToolStripItemRenderEventArgs)
Draws the background for a ToolStripButton.
(Inherited from ToolStripRenderer.)
DrawDropDownButtonBackground(ToolStripItemRenderEventArgs)
Draws the background for a ToolStripDropDownButton.
(Inherited from ToolStripRenderer.)
DrawGrip(ToolStripGripRenderEventArgs)
Draws a move handle on a ToolStrip.
(Inherited from ToolStripRenderer.)
DrawImageMargin(ToolStripRenderEventArgs)
Draws the space around an image on a ToolStrip.
(Inherited from ToolStripRenderer.)
DrawItemBackground(ToolStripItemRenderEventArgs)
Draws the background for a ToolStripItem.
(Inherited from ToolStripRenderer.)
DrawItemCheck(ToolStripItemImageRenderEventArgs)
Draws an image on a ToolStripItem that indicates the item is in a selected state.
(Inherited from ToolStripRenderer.)
DrawItemImage(ToolStripItemImageRenderEventArgs)
Draws an image on a ToolStripItem.
(Inherited from ToolStripRenderer.)
DrawItemText(ToolStripItemTextRenderEventArgs)
Draws text on a ToolStripItem.
(Inherited from ToolStripRenderer.)
DrawLabelBackground(ToolStripItemRenderEventArgs)
Draws the background for a ToolStripLabel.
(Inherited from ToolStripRenderer.)
DrawMenuItemBackground(ToolStripItemRenderEventArgs)
Draws the background for a ToolStripMenuItem.
(Inherited from ToolStripRenderer.)
DrawOverflowButtonBackground(ToolStripItemRenderEventArgs)
Draws the background for an overflow button.
(Inherited from ToolStripRenderer.)
DrawSeparator(ToolStripSeparatorRenderEventArgs) (Inherited from ToolStripRenderer.)
DrawSplitButton(ToolStripItemRenderEventArgs) (Inherited from ToolStripRenderer.)
DrawStatusStripSizingGrip(ToolStripRenderEventArgs)
Draws a sizing grip.
(Inherited from ToolStripRenderer.)
DrawToolStripBackground(ToolStripRenderEventArgs)
Draws the background for a ToolStrip.
(Inherited from ToolStripRenderer.)
DrawToolStripBorder(ToolStripRenderEventArgs)
Draws the border for a ToolStrip.
(Inherited from ToolStripRenderer.)
DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)
Draws the background of the ToolStripContentPanel.
(Inherited from ToolStripRenderer.)
DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs)
Draws the background of the ToolStripPanel.
(Inherited from ToolStripRenderer.)
DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)
Draws the background of the ToolStripStatusLabel.
(Inherited from ToolStripRenderer.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Initialize(ToolStrip)
When overridden in a derived class, provides for custom initialization of the given ToolStrip.
(Inherited from ToolStripRenderer.)
InitializeContentPanel(ToolStripContentPanel)
Initializes the specified ToolStripContentPanel.
(Inherited from ToolStripRenderer.)
InitializeItem(ToolStripItem)
When overridden in a derived class, provides for custom initialization of the given ToolStripItem.
(Inherited from ToolStripRenderer.)
InitializePanel(ToolStripPanel)
Initializes the specified ToolStripPanel.
(Inherited from ToolStripRenderer.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MenuStyle
Gets or sets the TextStyle used in rendering ToolStrips with this renderer.

OnRenderArrow(ToolStripArrowRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderButtonBackground(ToolStripItemRenderEventArgs)
Draws the background rectangle of a toolbar button in the appropriate colour.
(Overrides ToolStripProfessionalRenderer.OnRenderButtonBackground(ToolStripItemRenderEventArgs).)
OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderGrip(ToolStripGripRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderImageMargin(ToolStripRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderItemBackground(ToolStripItemRenderEventArgs) (Inherited from ToolStripRenderer.)
OnRenderItemCheck(ToolStripItemImageRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderItemImage(ToolStripItemImageRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderItemText(ToolStripItemTextRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderLabelBackground(ToolStripItemRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderMenuItemBackground(ToolStripItemRenderEventArgs)
Draws the background rectangle of a menu item in the appropriate colour.
(Overrides ToolStripProfessionalRenderer.OnRenderMenuItemBackground(ToolStripItemRenderEventArgs).)
OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderSeparator(ToolStripSeparatorRenderEventArgs)
Draws a menu separator by drawing the appropriate coloured background, then letting the base renderer draw the separator
(Overrides ToolStripProfessionalRenderer.OnRenderSeparator(ToolStripSeparatorRenderEventArgs).)
OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs)
Raises the RenderStatusStripSizingGrip event.
(Inherited from ToolStripRenderer.)
OnRenderToolStripBackground(ToolStripRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderToolStripBorder(ToolStripRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs)
Raises the RenderToolStripPanelBackground event.
(Inherited from ToolStripProfessionalRenderer.)
OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) (Inherited from ToolStripProfessionalRenderer.)
RenderArrow
Occurs when an arrow on a ToolStripItem is rendered.
(Inherited from ToolStripRenderer.)
RenderButtonBackground
Occurs when the background for a ToolStripButton is rendered
(Inherited from ToolStripRenderer.)
RenderDropDownButtonBackground
Occurs when the background for a ToolStripDropDownButton is rendered.
(Inherited from ToolStripRenderer.)
RenderGrip
Occurs when the move handle for a ToolStrip is rendered.
(Inherited from ToolStripRenderer.)
RenderImageMargin
Draws the margin between an image and its container.
(Inherited from ToolStripRenderer.)
RenderItemBackground
Occurs when the background for a ToolStripItem is rendered.
(Inherited from ToolStripRenderer.)
RenderItemCheck
Occurs when the image for a selected ToolStripItem is rendered.
(Inherited from ToolStripRenderer.)
RenderItemImage
Occurs when the image for a ToolStripItem is rendered.
(Inherited from ToolStripRenderer.)
RenderItemText
Occurs when the text for a ToolStripItem is rendered.
(Inherited from ToolStripRenderer.)
RenderLabelBackground
Occurs when the background for a ToolStripLabel is rendered.
(Inherited from ToolStripRenderer.)
RenderMenuItemBackground
Occurs when the background for a ToolStripMenuItem is rendered.
(Inherited from ToolStripRenderer.)
RenderOverflowButtonBackground
Occurs when the background for an overflow button is rendered.
(Inherited from ToolStripRenderer.)
RenderSeparator
Occurs when a ToolStripSeparator is rendered.
(Inherited from ToolStripRenderer.)
RenderSplitButtonBackground
Occurs when the background for a ToolStripSplitButton is rendered.
(Inherited from ToolStripRenderer.)
RenderStatusStripSizingGrip
Occurs when the display style changes.
(Inherited from ToolStripRenderer.)
RenderToolStripBackground
Occurs when the background for a ToolStrip is rendered.
(Inherited from ToolStripRenderer.)
RenderToolStripBorder
Occurs when the border for a ToolStrip is rendered.
(Inherited from ToolStripRenderer.)
RenderToolStripContentPanelBackground
Draws the background of a ToolStripContentPanel.
(Inherited from ToolStripRenderer.)
RenderToolStripPanelBackground
Draws the background of a ToolStripPanel.
(Inherited from ToolStripRenderer.)
RenderToolStripStatusLabelBackground
Draws the background of a ToolStripStatusLabel.
(Inherited from ToolStripRenderer.)
RoundedEdges
Gets or sets a value indicating whether edges of controls have a rounded rather than a square or sharp appearance.
(Inherited from ToolStripProfessionalRenderer.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Remarks
This is used by Persistate with the MenuTextStyle of the LayoutStyle applied to the PToolStripPanel. It sets both normal and selected (highlit) colours in the ToolStrip.
Inheritance Hierarchy

Assembly: Persistate.UI.Desktop (Module: Persistate.UI.Desktop) Version: 0.6.1.20 (0.6.1.20)