다음을 통해 공유


DrawTreeNodeEventArgs(Graphics, TreeNode, Rectangle, TreeNodeStates) 생성자

정의

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

public:
 DrawTreeNodeEventArgs(System::Drawing::Graphics ^ graphics, System::Windows::Forms::TreeNode ^ node, System::Drawing::Rectangle bounds, System::Windows::Forms::TreeNodeStates state);
public DrawTreeNodeEventArgs (System.Drawing.Graphics graphics, System.Windows.Forms.TreeNode node, System.Drawing.Rectangle bounds, System.Windows.Forms.TreeNodeStates state);
public DrawTreeNodeEventArgs (System.Drawing.Graphics graphics, System.Windows.Forms.TreeNode? node, System.Drawing.Rectangle bounds, System.Windows.Forms.TreeNodeStates state);
new System.Windows.Forms.DrawTreeNodeEventArgs : System.Drawing.Graphics * System.Windows.Forms.TreeNode * System.Drawing.Rectangle * System.Windows.Forms.TreeNodeStates -> System.Windows.Forms.DrawTreeNodeEventArgs
Public Sub New (graphics As Graphics, node As TreeNode, bounds As Rectangle, state As TreeNodeStates)

매개 변수

graphics
Graphics

이미지를 그릴 Graphics 표면입니다.

node
TreeNode

그릴 TreeNode입니다.

bounds
Rectangle

그릴 Rectangle입니다.

state
TreeNodeStates

그릴 TreeNodeStates의 현재 상태를 나타내는 TreeNode 값의 비트 조합입니다.

예외

.NET 6 이상 버전: graphics null

적용 대상