共用方式為


TreeView.SelectedItemProperty 屬性

定義

識別 SelectedItem 相依性屬性。

public:
 static property DependencyProperty ^ SelectedItemProperty { DependencyProperty ^ get(); };
static DependencyProperty SelectedItemProperty();
public static DependencyProperty SelectedItemProperty { get; }
var dependencyProperty = TreeView.selectedItemProperty;
Public Shared ReadOnly Property SelectedItemProperty As DependencyProperty

屬性值

SelectedItem 相依性屬性的標識碼。

適用於