TreeView.SelectionMode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the selection behavior for a TreeView instance.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.SelectionMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property TreeViewSelectionMode SelectionMode { TreeViewSelectionMode get(); void set(TreeViewSelectionMode value); };
TreeViewSelectionMode SelectionMode();
void SelectionMode(TreeViewSelectionMode value);
public TreeViewSelectionMode SelectionMode { get; set; }
var treeViewSelectionMode = treeView.selectionMode;
treeView.selectionMode = treeViewSelectionMode;
Public Property SelectionMode As TreeViewSelectionMode
Property Value
An enumeration value that specifies the selection behavior for a TreeView. The default is Single selection.
Applies to
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla