ToolStrip.Renderer ToolStrip.Renderer ToolStrip.Renderer ToolStrip.Renderer Property

定義

取得或設定用來自訂 ToolStripRenderer 外觀及操作的 ToolStripGets or sets a ToolStripRenderer used to customize the look and feel of a ToolStrip.

public:
 property System::Windows::Forms::ToolStripRenderer ^ Renderer { System::Windows::Forms::ToolStripRenderer ^ get(); void set(System::Windows::Forms::ToolStripRenderer ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.ToolStripRenderer Renderer { get; set; }
member this.Renderer : System.Windows.Forms.ToolStripRenderer with get, set
Public Property Renderer As ToolStripRenderer

屬性值

用來自訂 ToolStripRenderer 外觀及操作的 ToolStripA ToolStripRenderer used to customize the look and feel of a ToolStrip.

備註

使用屬性和類別來自訂任何ToolStripItem沒有視窗控制碼的外觀與風格。 ToolStripRenderer RendererUse the Renderer property and the ToolStripRenderer class to customize the look and feel of any ToolStripItem that does not have a window handle.

若要這麼做,請從ToolStripRenderer衍生類別,將它指派RendererInvalidate屬性,然後呼叫方法。To do this, derive a class from ToolStripRenderer, assign it to the Renderer property, and call the Invalidate method.

適用於

另請參閱