ToolStripSystemRenderer ToolStripSystemRenderer ToolStripSystemRenderer ToolStripSystemRenderer Class

定义

使用系统颜色和平面视觉样式处理 ToolStrip 对象的绘制功能。Handles the painting functionality for ToolStrip objects, using system colors and a flat visual style.

public ref class ToolStripSystemRenderer : System::Windows::Forms::ToolStripRenderer
public class ToolStripSystemRenderer : System.Windows.Forms.ToolStripRenderer
type ToolStripSystemRenderer = class
    inherit ToolStripRenderer
Public Class ToolStripSystemRenderer
Inherits ToolStripRenderer
继承
ToolStripSystemRendererToolStripSystemRendererToolStripSystemRendererToolStripSystemRenderer

注解

ToolStripSystemRenderer将系统颜色和平面视觉样式ToolStrip应用于应用程序。ToolStripSystemRenderer applies system colors and a flat visual style to ToolStrip applications.

默认情况下, ToolStripSystemRenderer如果为应用程序SystemColors启用了视觉样式, 则将应用调色板和视觉样式。By default, the ToolStripSystemRenderer applies a palette of SystemColors and visual styles, if visual styles are enabled for the application.

构造函数

ToolStripSystemRenderer() ToolStripSystemRenderer() ToolStripSystemRenderer() ToolStripSystemRenderer()

初始化 ToolStripSystemRenderer 类的新实例。Initializes a new instance of the ToolStripSystemRenderer class.

方法

DrawArrow(ToolStripArrowRenderEventArgs) DrawArrow(ToolStripArrowRenderEventArgs) DrawArrow(ToolStripArrowRenderEventArgs) DrawArrow(ToolStripArrowRenderEventArgs)

ToolStripItem 上绘制一个箭头。Draws an arrow on a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawButtonBackground(ToolStripItemRenderEventArgs) DrawButtonBackground(ToolStripItemRenderEventArgs) DrawButtonBackground(ToolStripItemRenderEventArgs) DrawButtonBackground(ToolStripItemRenderEventArgs)

绘制 ToolStripButton 的背景。Draws the background for a ToolStripButton.

(Inherited from ToolStripRenderer)
DrawDropDownButtonBackground(ToolStripItemRenderEventArgs) DrawDropDownButtonBackground(ToolStripItemRenderEventArgs) DrawDropDownButtonBackground(ToolStripItemRenderEventArgs) DrawDropDownButtonBackground(ToolStripItemRenderEventArgs)

绘制 ToolStripDropDownButton 的背景。Draws the background for a ToolStripDropDownButton.

(Inherited from ToolStripRenderer)
DrawGrip(ToolStripGripRenderEventArgs) DrawGrip(ToolStripGripRenderEventArgs) DrawGrip(ToolStripGripRenderEventArgs) DrawGrip(ToolStripGripRenderEventArgs)

ToolStrip 上绘制一个移动手柄。Draws a move handle on a ToolStrip.

(Inherited from ToolStripRenderer)
DrawImageMargin(ToolStripRenderEventArgs) DrawImageMargin(ToolStripRenderEventArgs) DrawImageMargin(ToolStripRenderEventArgs) DrawImageMargin(ToolStripRenderEventArgs)

ToolStrip 上的图像周围绘制空白。Draws the space around an image on a ToolStrip.

(Inherited from ToolStripRenderer)
DrawItemBackground(ToolStripItemRenderEventArgs) DrawItemBackground(ToolStripItemRenderEventArgs) DrawItemBackground(ToolStripItemRenderEventArgs) DrawItemBackground(ToolStripItemRenderEventArgs)

绘制 ToolStripItem 的背景。Draws the background for a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawItemCheck(ToolStripItemImageRenderEventArgs) DrawItemCheck(ToolStripItemImageRenderEventArgs) DrawItemCheck(ToolStripItemImageRenderEventArgs) DrawItemCheck(ToolStripItemImageRenderEventArgs)

ToolStripItem 上绘制一个图像,指示该项是否处于选中状态。Draws an image on a ToolStripItem that indicates the item is in a selected state.

(Inherited from ToolStripRenderer)
DrawItemImage(ToolStripItemImageRenderEventArgs) DrawItemImage(ToolStripItemImageRenderEventArgs) DrawItemImage(ToolStripItemImageRenderEventArgs) DrawItemImage(ToolStripItemImageRenderEventArgs)

ToolStripItem 上绘制一个图像。Draws an image on a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawItemText(ToolStripItemTextRenderEventArgs) DrawItemText(ToolStripItemTextRenderEventArgs) DrawItemText(ToolStripItemTextRenderEventArgs) DrawItemText(ToolStripItemTextRenderEventArgs)

ToolStripItem 上绘制文本。Draws text on a ToolStripItem.

(Inherited from ToolStripRenderer)
DrawLabelBackground(ToolStripItemRenderEventArgs) DrawLabelBackground(ToolStripItemRenderEventArgs) DrawLabelBackground(ToolStripItemRenderEventArgs) DrawLabelBackground(ToolStripItemRenderEventArgs)

绘制 ToolStripLabel 的背景。Draws the background for a ToolStripLabel.

(Inherited from ToolStripRenderer)
DrawMenuItemBackground(ToolStripItemRenderEventArgs) DrawMenuItemBackground(ToolStripItemRenderEventArgs) DrawMenuItemBackground(ToolStripItemRenderEventArgs) DrawMenuItemBackground(ToolStripItemRenderEventArgs)

绘制 ToolStripMenuItem 的背景。Draws the background for a ToolStripMenuItem.

(Inherited from ToolStripRenderer)
DrawOverflowButtonBackground(ToolStripItemRenderEventArgs) DrawOverflowButtonBackground(ToolStripItemRenderEventArgs) DrawOverflowButtonBackground(ToolStripItemRenderEventArgs) DrawOverflowButtonBackground(ToolStripItemRenderEventArgs)

绘制溢出按钮的背景。Draws the background for an overflow button.

(Inherited from ToolStripRenderer)
DrawSeparator(ToolStripSeparatorRenderEventArgs) DrawSeparator(ToolStripSeparatorRenderEventArgs) DrawSeparator(ToolStripSeparatorRenderEventArgs) DrawSeparator(ToolStripSeparatorRenderEventArgs)

绘制 ToolStripSeparatorDraws a ToolStripSeparator.

(Inherited from ToolStripRenderer)
DrawSplitButton(ToolStripItemRenderEventArgs) DrawSplitButton(ToolStripItemRenderEventArgs) DrawSplitButton(ToolStripItemRenderEventArgs) DrawSplitButton(ToolStripItemRenderEventArgs)

绘制 ToolStripSplitButtonDraws a ToolStripSplitButton.

(Inherited from ToolStripRenderer)
DrawStatusStripSizingGrip(ToolStripRenderEventArgs) DrawStatusStripSizingGrip(ToolStripRenderEventArgs) DrawStatusStripSizingGrip(ToolStripRenderEventArgs) DrawStatusStripSizingGrip(ToolStripRenderEventArgs)

绘制大小调整手柄。Draws a sizing grip.

(Inherited from ToolStripRenderer)
DrawToolStripBackground(ToolStripRenderEventArgs) DrawToolStripBackground(ToolStripRenderEventArgs) DrawToolStripBackground(ToolStripRenderEventArgs) DrawToolStripBackground(ToolStripRenderEventArgs)

绘制 ToolStrip 的背景。Draws the background for a ToolStrip.

(Inherited from ToolStripRenderer)
DrawToolStripBorder(ToolStripRenderEventArgs) DrawToolStripBorder(ToolStripRenderEventArgs) DrawToolStripBorder(ToolStripRenderEventArgs) DrawToolStripBorder(ToolStripRenderEventArgs)

绘制 ToolStrip 的边框。Draws the border for a ToolStrip.

(Inherited from ToolStripRenderer)
DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

绘制 ToolStripContentPanel 的背景。Draws the background of the ToolStripContentPanel.

(Inherited from ToolStripRenderer)
DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs) DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs) DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs) DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs)

绘制 ToolStripPanel 的背景。Draws the background of the ToolStripPanel.

(Inherited from ToolStripRenderer)
DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

绘制 ToolStripStatusLabel 的背景。Draws the background of the ToolStripStatusLabel.

(Inherited from ToolStripRenderer)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
Initialize(ToolStrip) Initialize(ToolStrip) Initialize(ToolStrip) Initialize(ToolStrip)

在派生类中重写时,提供给定 ToolStrip 的自定义初始化。When overridden in a derived class, provides for custom initialization of the given ToolStrip.

(Inherited from ToolStripRenderer)
InitializeContentPanel(ToolStripContentPanel) InitializeContentPanel(ToolStripContentPanel) InitializeContentPanel(ToolStripContentPanel) InitializeContentPanel(ToolStripContentPanel)

初始化指定的 ToolStripContentPanelInitializes the specified ToolStripContentPanel.

(Inherited from ToolStripRenderer)
InitializeItem(ToolStripItem) InitializeItem(ToolStripItem) InitializeItem(ToolStripItem) InitializeItem(ToolStripItem)

在派生类中重写时,提供给定 ToolStripItem 的自定义初始化。When overridden in a derived class, provides for custom initialization of the given ToolStripItem.

(Inherited from ToolStripRenderer)
InitializePanel(ToolStripPanel) InitializePanel(ToolStripPanel) InitializePanel(ToolStripPanel) InitializePanel(ToolStripPanel)

初始化指定的 ToolStripPanelInitializes the specified ToolStripPanel.

(Inherited from ToolStripRenderer)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
OnRenderArrow(ToolStripArrowRenderEventArgs) OnRenderArrow(ToolStripArrowRenderEventArgs) OnRenderArrow(ToolStripArrowRenderEventArgs) OnRenderArrow(ToolStripArrowRenderEventArgs)

引发 RenderArrow 事件。Raises the RenderArrow event.

(Inherited from ToolStripRenderer)
OnRenderButtonBackground(ToolStripItemRenderEventArgs) OnRenderButtonBackground(ToolStripItemRenderEventArgs) OnRenderButtonBackground(ToolStripItemRenderEventArgs) OnRenderButtonBackground(ToolStripItemRenderEventArgs)

引发 RenderButtonBackground 事件。Raises the RenderButtonBackground event.

OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs) OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs) OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs) OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs)

引发 RenderDropDownButtonBackground 事件。Raises the RenderDropDownButtonBackground event.

OnRenderGrip(ToolStripGripRenderEventArgs) OnRenderGrip(ToolStripGripRenderEventArgs) OnRenderGrip(ToolStripGripRenderEventArgs) OnRenderGrip(ToolStripGripRenderEventArgs)

引发 RenderGrip 事件。Raises the RenderGrip event.

OnRenderImageMargin(ToolStripRenderEventArgs) OnRenderImageMargin(ToolStripRenderEventArgs) OnRenderImageMargin(ToolStripRenderEventArgs) OnRenderImageMargin(ToolStripRenderEventArgs)

绘制项的背景。Draws the item background.

OnRenderItemBackground(ToolStripItemRenderEventArgs) OnRenderItemBackground(ToolStripItemRenderEventArgs) OnRenderItemBackground(ToolStripItemRenderEventArgs) OnRenderItemBackground(ToolStripItemRenderEventArgs)

引发 OnRenderItemBackground(ToolStripItemRenderEventArgs) 事件。Raises the OnRenderItemBackground(ToolStripItemRenderEventArgs) event.

OnRenderItemCheck(ToolStripItemImageRenderEventArgs) OnRenderItemCheck(ToolStripItemImageRenderEventArgs) OnRenderItemCheck(ToolStripItemImageRenderEventArgs) OnRenderItemCheck(ToolStripItemImageRenderEventArgs)

引发 RenderItemCheck 事件。Raises the RenderItemCheck event.

(Inherited from ToolStripRenderer)
OnRenderItemImage(ToolStripItemImageRenderEventArgs) OnRenderItemImage(ToolStripItemImageRenderEventArgs) OnRenderItemImage(ToolStripItemImageRenderEventArgs) OnRenderItemImage(ToolStripItemImageRenderEventArgs)

引发 RenderItemImage 事件。Raises the RenderItemImage event.

(Inherited from ToolStripRenderer)
OnRenderItemText(ToolStripItemTextRenderEventArgs) OnRenderItemText(ToolStripItemTextRenderEventArgs) OnRenderItemText(ToolStripItemTextRenderEventArgs) OnRenderItemText(ToolStripItemTextRenderEventArgs)

引发 RenderItemText 事件。Raises the RenderItemText event.

(Inherited from ToolStripRenderer)
OnRenderLabelBackground(ToolStripItemRenderEventArgs) OnRenderLabelBackground(ToolStripItemRenderEventArgs) OnRenderLabelBackground(ToolStripItemRenderEventArgs) OnRenderLabelBackground(ToolStripItemRenderEventArgs)

引发 RenderLabelBackground 事件。Raises the RenderLabelBackground event.

OnRenderMenuItemBackground(ToolStripItemRenderEventArgs) OnRenderMenuItemBackground(ToolStripItemRenderEventArgs) OnRenderMenuItemBackground(ToolStripItemRenderEventArgs) OnRenderMenuItemBackground(ToolStripItemRenderEventArgs)

引发 RenderMenuItemBackground 事件。Raises the RenderMenuItemBackground event.

OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs) OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs) OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs) OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs)

引发 RenderOverflowButtonBackground 事件。Raises the RenderOverflowButtonBackground event.

OnRenderSeparator(ToolStripSeparatorRenderEventArgs) OnRenderSeparator(ToolStripSeparatorRenderEventArgs) OnRenderSeparator(ToolStripSeparatorRenderEventArgs) OnRenderSeparator(ToolStripSeparatorRenderEventArgs)

引发 RenderSeparator 事件。Raises the RenderSeparator event.

OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs) OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs) OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs) OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs)

引发 OnRenderSplitButtonBackground 事件。Raises the OnRenderSplitButtonBackground event.

OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs) OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs) OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs) OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs)

引发 RenderStatusStripSizingGrip 事件。Raises the RenderStatusStripSizingGrip event.

(Inherited from ToolStripRenderer)
OnRenderToolStripBackground(ToolStripRenderEventArgs) OnRenderToolStripBackground(ToolStripRenderEventArgs) OnRenderToolStripBackground(ToolStripRenderEventArgs) OnRenderToolStripBackground(ToolStripRenderEventArgs)

引发 RenderToolStripBackground 事件。Raises the RenderToolStripBackground event.

OnRenderToolStripBorder(ToolStripRenderEventArgs) OnRenderToolStripBorder(ToolStripRenderEventArgs) OnRenderToolStripBorder(ToolStripRenderEventArgs) OnRenderToolStripBorder(ToolStripRenderEventArgs)

引发 RenderToolStripBorder 事件。Raises the RenderToolStripBorder event.

OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs) OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

引发 RenderToolStripContentPanelBackground 事件。Raises the RenderToolStripContentPanelBackground event.

(Inherited from ToolStripRenderer)
OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs) OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs) OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs) OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs)

引发 RenderToolStripPanelBackground 事件。Raises the RenderToolStripPanelBackground event.

(Inherited from ToolStripRenderer)
OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs) OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

引发 RenderToolStripStatusLabelBackground 事件。Raises the RenderToolStripStatusLabelBackground event.

ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

事件

RenderArrow RenderArrow RenderArrow RenderArrow

在呈现 ToolStripItem 上的箭头时发生。Occurs when an arrow on a ToolStripItem is rendered.

(Inherited from ToolStripRenderer)
RenderButtonBackground RenderButtonBackground RenderButtonBackground RenderButtonBackground

当呈现 ToolStripButton 的背景时发生。Occurs when the background for a ToolStripButton is rendered

(Inherited from ToolStripRenderer)
RenderDropDownButtonBackground RenderDropDownButtonBackground RenderDropDownButtonBackground RenderDropDownButtonBackground

当呈现 ToolStripDropDownButton 的背景时发生。Occurs when the background for a ToolStripDropDownButton is rendered.

(Inherited from ToolStripRenderer)
RenderGrip RenderGrip RenderGrip RenderGrip

当呈现 ToolStrip 的移动手柄时发生。Occurs when the move handle for a ToolStrip is rendered.

(Inherited from ToolStripRenderer)
RenderImageMargin RenderImageMargin RenderImageMargin RenderImageMargin

绘制图像与图像容器之间的边距。Draws the margin between an image and its container.

(Inherited from ToolStripRenderer)
RenderItemBackground RenderItemBackground RenderItemBackground RenderItemBackground

当呈现 ToolStripItem 的背景时发生。Occurs when the background for a ToolStripItem is rendered.

(Inherited from ToolStripRenderer)
RenderItemCheck RenderItemCheck RenderItemCheck RenderItemCheck

当呈现选定 ToolStripItem 的图像时发生。Occurs when the image for a selected ToolStripItem is rendered.

(Inherited from ToolStripRenderer)
RenderItemImage RenderItemImage RenderItemImage RenderItemImage

当呈现 ToolStripItem 的图像时发生。Occurs when the image for a ToolStripItem is rendered.

(Inherited from ToolStripRenderer)
RenderItemText RenderItemText RenderItemText RenderItemText

当呈现 ToolStripItem 的文本时发生。Occurs when the text for a ToolStripItem is rendered.

(Inherited from ToolStripRenderer)
RenderLabelBackground RenderLabelBackground RenderLabelBackground RenderLabelBackground

当呈现 ToolStripLabel 的背景时发生。Occurs when the background for a ToolStripLabel is rendered.

(Inherited from ToolStripRenderer)
RenderMenuItemBackground RenderMenuItemBackground RenderMenuItemBackground RenderMenuItemBackground

当呈现 ToolStripMenuItem 的背景时发生。Occurs when the background for a ToolStripMenuItem is rendered.

(Inherited from ToolStripRenderer)
RenderOverflowButtonBackground RenderOverflowButtonBackground RenderOverflowButtonBackground RenderOverflowButtonBackground

在呈现溢出按钮的背景时发生。Occurs when the background for an overflow button is rendered.

(Inherited from ToolStripRenderer)
RenderSeparator RenderSeparator RenderSeparator RenderSeparator

当呈现 ToolStripSeparator 时发生。Occurs when a ToolStripSeparator is rendered.

(Inherited from ToolStripRenderer)
RenderSplitButtonBackground RenderSplitButtonBackground RenderSplitButtonBackground RenderSplitButtonBackground

当呈现 ToolStripSplitButton 的背景时发生。Occurs when the background for a ToolStripSplitButton is rendered.

(Inherited from ToolStripRenderer)
RenderStatusStripSizingGrip RenderStatusStripSizingGrip RenderStatusStripSizingGrip RenderStatusStripSizingGrip

当显示样式更改时发生。Occurs when the display style changes.

(Inherited from ToolStripRenderer)
RenderToolStripBackground RenderToolStripBackground RenderToolStripBackground RenderToolStripBackground

当呈现 ToolStrip 的背景时发生。Occurs when the background for a ToolStrip is rendered.

(Inherited from ToolStripRenderer)
RenderToolStripBorder RenderToolStripBorder RenderToolStripBorder RenderToolStripBorder

当呈现 ToolStrip 的边框时发生。Occurs when the border for a ToolStrip is rendered.

(Inherited from ToolStripRenderer)
RenderToolStripContentPanelBackground RenderToolStripContentPanelBackground RenderToolStripContentPanelBackground RenderToolStripContentPanelBackground

绘制 ToolStripContentPanel 的背景。Draws the background of a ToolStripContentPanel.

(Inherited from ToolStripRenderer)
RenderToolStripPanelBackground RenderToolStripPanelBackground RenderToolStripPanelBackground RenderToolStripPanelBackground

绘制 ToolStripPanel 的背景。Draws the background of a ToolStripPanel.

(Inherited from ToolStripRenderer)
RenderToolStripStatusLabelBackground RenderToolStripStatusLabelBackground RenderToolStripStatusLabelBackground RenderToolStripStatusLabelBackground

绘制 ToolStripStatusLabel 的背景。Draws the background of a ToolStripStatusLabel.

(Inherited from ToolStripRenderer)

适用于