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 的淺層複本 (Shallow Copy)。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)

適用於