DrawToolTipEventArgs 생성자

정의

DrawToolTipEventArgs 클래스의 새 인스턴스를 초기화합니다.

public:
 DrawToolTipEventArgs(System::Drawing::Graphics ^ graphics, System::Windows::Forms::IWin32Window ^ associatedWindow, System::Windows::Forms::Control ^ associatedControl, System::Drawing::Rectangle bounds, System::String ^ toolTipText, System::Drawing::Color backColor, System::Drawing::Color foreColor, System::Drawing::Font ^ font);
public DrawToolTipEventArgs (System.Drawing.Graphics graphics, System.Windows.Forms.IWin32Window associatedWindow, System.Windows.Forms.Control associatedControl, System.Drawing.Rectangle bounds, string toolTipText, System.Drawing.Color backColor, System.Drawing.Color foreColor, System.Drawing.Font font);
public DrawToolTipEventArgs (System.Drawing.Graphics graphics, System.Windows.Forms.IWin32Window? associatedWindow, System.Windows.Forms.Control? associatedControl, System.Drawing.Rectangle bounds, string? toolTipText, System.Drawing.Color backColor, System.Drawing.Color foreColor, System.Drawing.Font? font);
new System.Windows.Forms.DrawToolTipEventArgs : System.Drawing.Graphics * System.Windows.Forms.IWin32Window * System.Windows.Forms.Control * System.Drawing.Rectangle * string * System.Drawing.Color * System.Drawing.Color * System.Drawing.Font -> System.Windows.Forms.DrawToolTipEventArgs
Public Sub New (graphics As Graphics, associatedWindow As IWin32Window, associatedControl As Control, bounds As Rectangle, toolTipText As String, backColor As Color, foreColor As Color, font As Font)

매개 변수

graphics
Graphics

도구 설명을 그릴 때 사용하는 Graphics 컨텍스트입니다.

associatedWindow
IWin32Window

도구 설명이 바인딩된 IWin32Window입니다.

associatedControl
Control

도구 설명을 만들고 있는 Control입니다.

bounds
Rectangle

도구 설명이 표시될 영역의 윤곽선을 나타내는 Rectangle입니다.

toolTipText
String

도구 설명의 텍스트가 들어 있는 String입니다.

backColor
Color

도구 설명 배경의 Color입니다.

foreColor
Color

도구 설명 텍스트의 Color입니다.

font
Font

도구 설명 텍스트를 그릴 때 사용하는 Font입니다.

설명

DrawToolTipEventArgs 생성자를 사용 합니다 graphics, associatedControl, associatedWindow, boundsfonttoolTipText 마찬가지로 명명 된 속성의 해당 초기화 매개 변수입니다. 합니다 backColorforeColor 매개 변수에서 사용 되는 DrawBackgroundDrawText 메서드를 각각.

적용 대상

추가 정보