DrawTreeNodeEventArgs(Graphics, TreeNode, Rectangle, TreeNodeStates) Construtor

Definição

Inicializa uma nova instância da classe 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)

Parâmetros

graphics
Graphics

A superfície Graphics na qual desenhar.

node
TreeNode

O TreeNode a ser desenhado.

bounds
Rectangle

O Rectangle dentro da qual desenhar.

state
TreeNodeStates

Uma combinação bit a bit de valores TreeNodeStates que indica o estado atual do TreeNode a ser desenhado.

Exceções

.NET 6 e versões posteriores: graphics é null.

Aplica-se a