ToolStripSystemRenderer 類別

定義

使用系統色彩和平面視覺化樣式,處理 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
繼承
ToolStripSystemRenderer

備註

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 類別的新執行個體。Initializes a new instance of the ToolStripSystemRenderer class.

方法

DrawArrow(ToolStripArrowRenderEventArgs)

ToolStripItem 上繪製箭號。Draws an arrow on a ToolStripItem.

(繼承來源 ToolStripRenderer)
DrawButtonBackground(ToolStripItemRenderEventArgs)

繪製 ToolStripButton 的背景。Draws the background for a ToolStripButton.

(繼承來源 ToolStripRenderer)
DrawDropDownButtonBackground(ToolStripItemRenderEventArgs)

繪製 ToolStripDropDownButton 的背景。Draws the background for a ToolStripDropDownButton.

(繼承來源 ToolStripRenderer)
DrawGrip(ToolStripGripRenderEventArgs)

ToolStrip 上繪製移動控制軸。Draws a move handle on a ToolStrip.

(繼承來源 ToolStripRenderer)
DrawImageMargin(ToolStripRenderEventArgs)

ToolStrip 上繪製影像周圍的空間。Draws the space around an image on a ToolStrip.

(繼承來源 ToolStripRenderer)
DrawItemBackground(ToolStripItemRenderEventArgs)

繪製 ToolStripItem 的背景。Draws the background for a ToolStripItem.

(繼承來源 ToolStripRenderer)
DrawItemCheck(ToolStripItemImageRenderEventArgs)

ToolStripItem 上繪製影像,表示項目處於已選取狀態。Draws an image on a ToolStripItem that indicates the item is in a selected state.

(繼承來源 ToolStripRenderer)
DrawItemImage(ToolStripItemImageRenderEventArgs)

ToolStripItem 上繪製影像。Draws an image on a ToolStripItem.

(繼承來源 ToolStripRenderer)
DrawItemText(ToolStripItemTextRenderEventArgs)

ToolStripItem 上繪製文字。Draws text on a ToolStripItem.

(繼承來源 ToolStripRenderer)
DrawLabelBackground(ToolStripItemRenderEventArgs)

繪製 ToolStripLabel 的背景。Draws the background for a ToolStripLabel.

(繼承來源 ToolStripRenderer)
DrawMenuItemBackground(ToolStripItemRenderEventArgs)

繪製 ToolStripMenuItem 的背景。Draws the background for a ToolStripMenuItem.

(繼承來源 ToolStripRenderer)
DrawOverflowButtonBackground(ToolStripItemRenderEventArgs)

繪製溢位按鈕的背景。Draws the background for an overflow button.

(繼承來源 ToolStripRenderer)
DrawSeparator(ToolStripSeparatorRenderEventArgs)

繪製 ToolStripSeparatorDraws a ToolStripSeparator.

(繼承來源 ToolStripRenderer)
DrawSplitButton(ToolStripItemRenderEventArgs)

繪製 ToolStripSplitButtonDraws a ToolStripSplitButton.

(繼承來源 ToolStripRenderer)
DrawStatusStripSizingGrip(ToolStripRenderEventArgs)

繪製可調整大小的底框。Draws a sizing grip.

(繼承來源 ToolStripRenderer)
DrawToolStripBackground(ToolStripRenderEventArgs)

繪製 ToolStrip 的背景。Draws the background for a ToolStrip.

(繼承來源 ToolStripRenderer)
DrawToolStripBorder(ToolStripRenderEventArgs)

繪製 ToolStrip 的框線。Draws the border for a ToolStrip.

(繼承來源 ToolStripRenderer)
DrawToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

繪製 ToolStripContentPanel 的背景。Draws the background of the ToolStripContentPanel.

(繼承來源 ToolStripRenderer)
DrawToolStripPanelBackground(ToolStripPanelRenderEventArgs)

繪製 ToolStripPanel 的背景。Draws the background of the ToolStripPanel.

(繼承來源 ToolStripRenderer)
DrawToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

繪製 ToolStripStatusLabel 的背景。Draws the background of the ToolStripStatusLabel.

(繼承來源 ToolStripRenderer)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
Initialize(ToolStrip)

在衍生類別中覆寫時,提供指定之 ToolStrip 的自訂初始化。When overridden in a derived class, provides for custom initialization of the given ToolStrip.

(繼承來源 ToolStripRenderer)
InitializeContentPanel(ToolStripContentPanel)

初始化指定的 ToolStripContentPanelInitializes the specified ToolStripContentPanel.

(繼承來源 ToolStripRenderer)
InitializeItem(ToolStripItem)

在衍生類別中覆寫時,提供指定之 ToolStripItem 的自訂初始化。When overridden in a derived class, provides for custom initialization of the given ToolStripItem.

(繼承來源 ToolStripRenderer)
InitializePanel(ToolStripPanel)

初始化指定的 ToolStripPanelInitializes the specified ToolStripPanel.

(繼承來源 ToolStripRenderer)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnRenderArrow(ToolStripArrowRenderEventArgs)

引發 RenderArrow 事件。Raises the RenderArrow event.

(繼承來源 ToolStripRenderer)
OnRenderButtonBackground(ToolStripItemRenderEventArgs)

引發 RenderButtonBackground 事件。Raises the RenderButtonBackground event.

OnRenderDropDownButtonBackground(ToolStripItemRenderEventArgs)

引發 RenderDropDownButtonBackground 事件。Raises the RenderDropDownButtonBackground event.

OnRenderGrip(ToolStripGripRenderEventArgs)

引發 RenderGrip 事件。Raises the RenderGrip event.

OnRenderImageMargin(ToolStripRenderEventArgs)

繪製項目背景。Draws the item background.

OnRenderItemBackground(ToolStripItemRenderEventArgs)

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

OnRenderItemCheck(ToolStripItemImageRenderEventArgs)

引發 RenderItemCheck 事件。Raises the RenderItemCheck event.

(繼承來源 ToolStripRenderer)
OnRenderItemImage(ToolStripItemImageRenderEventArgs)

引發 RenderItemImage 事件。Raises the RenderItemImage event.

(繼承來源 ToolStripRenderer)
OnRenderItemText(ToolStripItemTextRenderEventArgs)

引發 RenderItemText 事件。Raises the RenderItemText event.

(繼承來源 ToolStripRenderer)
OnRenderLabelBackground(ToolStripItemRenderEventArgs)

引發 RenderLabelBackground 事件。Raises the RenderLabelBackground event.

OnRenderMenuItemBackground(ToolStripItemRenderEventArgs)

引發 RenderMenuItemBackground 事件。Raises the RenderMenuItemBackground event.

OnRenderOverflowButtonBackground(ToolStripItemRenderEventArgs)

引發 RenderOverflowButtonBackground 事件。Raises the RenderOverflowButtonBackground event.

OnRenderSeparator(ToolStripSeparatorRenderEventArgs)

引發 RenderSeparator 事件。Raises the RenderSeparator event.

OnRenderSplitButtonBackground(ToolStripItemRenderEventArgs)

引發 OnRenderSplitButtonBackground 事件。Raises the OnRenderSplitButtonBackground event.

OnRenderStatusStripSizingGrip(ToolStripRenderEventArgs)

引發 RenderStatusStripSizingGrip 事件。Raises the RenderStatusStripSizingGrip event.

(繼承來源 ToolStripRenderer)
OnRenderToolStripBackground(ToolStripRenderEventArgs)

引發 RenderToolStripBackground 事件。Raises the RenderToolStripBackground event.

OnRenderToolStripBorder(ToolStripRenderEventArgs)

引發 RenderToolStripBorder 事件。Raises the RenderToolStripBorder event.

OnRenderToolStripContentPanelBackground(ToolStripContentPanelRenderEventArgs)

引發 RenderToolStripContentPanelBackground 事件。Raises the RenderToolStripContentPanelBackground event.

(繼承來源 ToolStripRenderer)
OnRenderToolStripPanelBackground(ToolStripPanelRenderEventArgs)

引發 RenderToolStripPanelBackground 事件。Raises the RenderToolStripPanelBackground event.

(繼承來源 ToolStripRenderer)
OnRenderToolStripStatusLabelBackground(ToolStripItemRenderEventArgs)

引發 RenderToolStripStatusLabelBackground 事件。Raises the RenderToolStripStatusLabelBackground event.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

事件

RenderArrow

發生於呈現 ToolStripItem 的箭號時。Occurs when an arrow on a ToolStripItem is rendered.

(繼承來源 ToolStripRenderer)
RenderButtonBackground

發生於呈現 ToolStripButton 的背景時。Occurs when the background for a ToolStripButton is rendered.

(繼承來源 ToolStripRenderer)
RenderDropDownButtonBackground

發生於呈現 ToolStripDropDownButton 的背景時。Occurs when the background for a ToolStripDropDownButton is rendered.

(繼承來源 ToolStripRenderer)
RenderGrip

發生於呈現 ToolStrip 的移動控制軸時。Occurs when the move handle for a ToolStrip is rendered.

(繼承來源 ToolStripRenderer)
RenderImageMargin

繪製影像與其容器之間的邊界。Draws the margin between an image and its container.

(繼承來源 ToolStripRenderer)
RenderItemBackground

發生於呈現 ToolStripItem 的背景時。Occurs when the background for a ToolStripItem is rendered.

(繼承來源 ToolStripRenderer)
RenderItemCheck

發生於呈現已選取 ToolStripItem 的影像時。Occurs when the image for a selected ToolStripItem is rendered.

(繼承來源 ToolStripRenderer)
RenderItemImage

發生於呈現 ToolStripItem 的影像時。Occurs when the image for a ToolStripItem is rendered.

(繼承來源 ToolStripRenderer)
RenderItemText

發生於呈現 ToolStripItem 的文字時。Occurs when the text for a ToolStripItem is rendered.

(繼承來源 ToolStripRenderer)
RenderLabelBackground

發生於呈現 ToolStripLabel 的背景時。Occurs when the background for a ToolStripLabel is rendered.

(繼承來源 ToolStripRenderer)
RenderMenuItemBackground

發生於呈現 ToolStripMenuItem 的背景時。Occurs when the background for a ToolStripMenuItem is rendered.

(繼承來源 ToolStripRenderer)
RenderOverflowButtonBackground

發生於呈現溢位按鈕的背景時。Occurs when the background for an overflow button is rendered.

(繼承來源 ToolStripRenderer)
RenderSeparator

發生於呈現 ToolStripSeparator 時。Occurs when a ToolStripSeparator is rendered.

(繼承來源 ToolStripRenderer)
RenderSplitButtonBackground

發生於呈現 ToolStripSplitButton 的背景時。Occurs when the background for a ToolStripSplitButton is rendered.

(繼承來源 ToolStripRenderer)
RenderStatusStripSizingGrip

發生於顯示樣式變更時。Occurs when the display style changes.

(繼承來源 ToolStripRenderer)
RenderToolStripBackground

發生於呈現 ToolStrip 的背景時。Occurs when the background for a ToolStrip is rendered.

(繼承來源 ToolStripRenderer)
RenderToolStripBorder

發生於呈現 ToolStrip 的框線時。Occurs when the border for a ToolStrip is rendered.

(繼承來源 ToolStripRenderer)
RenderToolStripContentPanelBackground

繪製 ToolStripContentPanel 的背景。Draws the background of a ToolStripContentPanel.

(繼承來源 ToolStripRenderer)
RenderToolStripPanelBackground

繪製 ToolStripPanel 的背景。Draws the background of a ToolStripPanel.

(繼承來源 ToolStripRenderer)
RenderToolStripStatusLabelBackground

繪製 ToolStripStatusLabel 的背景。Draws the background of a ToolStripStatusLabel.

(繼承來源 ToolStripRenderer)

適用於