ToolStripRenderer.DrawToolStripBackground(ToolStripRenderEventArgs) 메서드
정의
public:
void DrawToolStripBackground(System::Windows::Forms::ToolStripRenderEventArgs ^ e);
public void DrawToolStripBackground (System.Windows.Forms.ToolStripRenderEventArgs e);
member this.DrawToolStripBackground : System.Windows.Forms.ToolStripRenderEventArgs -> unit
Public Sub DrawToolStripBackground (e As ToolStripRenderEventArgs)
매개 변수
ToolStripRenderEventArgs의 배경을 그리기 위한 데이터가 들어 있는 ToolStrip입니다.A ToolStripRenderEventArgs that contains the data to draw the background for the ToolStrip.
설명
DrawToolStripBackground메서드는의 배경에 대 한 렌더링 코드에 대 한 진입점을 제공 합니다 ToolStrip .The DrawToolStripBackground method provides the entry point to the rendering code for the background of a ToolStrip. 이 메서드를 사용 하 여 메서드를 재정의할 때의 배경을 그리거나, ToolStrip ToolStrip.OnPaintBackground ToolStrip 사용자 지정에서의 배경을 강제로 그릴 수 ToolStripRenderer 있습니다.Use this method to draw the background of a ToolStrip when overriding the ToolStrip.OnPaintBackground method, or to force the background of a ToolStrip to be drawn in a custom ToolStripRenderer. 의 배경이 렌더링 되는 방식을 변경 하려면 ToolStrip OnRenderToolStripBackground 에서 파생 된 클래스의 메서드를 재정의 ToolStripRenderer 합니다.To change the way the background of a ToolStrip is rendered, override the OnRenderToolStripBackground method in a class derived from ToolStripRenderer.