Aracılığıyla paylaş


DrawTreeNodeEventArgs(Graphics, TreeNode, Rectangle, TreeNodeStates) Oluşturucu

Tanım

DrawTreeNodeEventArgs sınıfının yeni bir örneğini başlatır.

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)

Parametreler

graphics
Graphics

Üzerine Graphics çizilen yüzey.

node
TreeNode

Çizecek TreeNode olan.

bounds
Rectangle

İçinde Rectangle çizim yapılan.

state
TreeNodeStates

Çizilmesi gereken öğesinin TreeNodeStates geçerli durumunu gösteren değerlerin TreeNode bit düzeyinde birleşimi.

Özel durumlar

.NET 6 ve sonraki sürümleri: graphics is null.

Şunlara uygulanır