TreeView.GetItemRenderStyles(TreeNode, Int32) 方法

定义

返回指定 OwnerDrawPropertyBagTreeNode

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

参数

node
TreeNode

TreeNode,要为其返回 OwnerDrawPropertyBag

state
Int32

TreeNode 的可视状态。

返回

OwnerDrawPropertyBag

用于指定 TreeNodeOwnerDrawPropertyBag

适用于