共用方式為


TreeViewItemBehaviors.SetSelectAndFocusOnRightClick 方法

命名空間:  Microsoft.TeamFoundation.MVVM
組件:  Microsoft.TeamFoundation.Controls (在 Microsoft.TeamFoundation.Controls.dll 中)

語法

'宣告
Public Shared Sub SetSelectAndFocusOnRightClick ( _
    treeViewItem As TreeViewItem, _
    ignore As Boolean _
)
public static void SetSelectAndFocusOnRightClick(
    TreeViewItem treeViewItem,
    bool ignore
)

參數

.NET Framework 安全性

請參閱

參考

TreeViewItemBehaviors 類別

Microsoft.TeamFoundation.MVVM 命名空間