Επεξεργασία

Κοινή χρήση μέσω


TreeView.GetItemRenderStyles(TreeNode, Int32) Method

Definition

Returns an OwnerDrawPropertyBag for the specified TreeNode.

protected:
 System::Windows::Forms::OwnerDrawPropertyBag ^ GetItemRenderStyles(System::Windows::Forms::TreeNode ^ node, int state);
protected System.Windows.Forms.OwnerDrawPropertyBag GetItemRenderStyles (System.Windows.Forms.TreeNode node, int state);
protected System.Windows.Forms.OwnerDrawPropertyBag GetItemRenderStyles (System.Windows.Forms.TreeNode? node, int state);
member this.GetItemRenderStyles : System.Windows.Forms.TreeNode * int -> System.Windows.Forms.OwnerDrawPropertyBag
Protected Function GetItemRenderStyles (node As TreeNode, state As Integer) As OwnerDrawPropertyBag

Parameters

node
TreeNode

The TreeNode for which to return an OwnerDrawPropertyBag.

state
Int32

The visible state of the TreeNode.

Returns

An OwnerDrawPropertyBag for the specified TreeNode.

Applies to