TreeView.GetItemRenderStyles(TreeNode, Int32) TreeView.GetItemRenderStyles(TreeNode, Int32) TreeView.GetItemRenderStyles(TreeNode, Int32) TreeView.GetItemRenderStyles(TreeNode, Int32) Method

定义

返回指定 OwnerDrawPropertyBagTreeNodeReturns 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);
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 TreeNode TreeNode

TreeNode,要为其返回 OwnerDrawPropertyBagThe TreeNode for which to return an OwnerDrawPropertyBag.

state
Int32 Int32 Int32 Int32

TreeNode 的可视状态。The visible state of the TreeNode.

返回

适用于