共用方式為


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

要傳回 TreeNodeOwnerDrawPropertyBag

state
Int32

TreeNode 的可見狀態。

傳回

OwnerDrawPropertyBag

指定 TreeNodeOwnerDrawPropertyBag

適用於