TreeViewSelectionMode Enum
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.
Defines constants that specify the selection behavior for a TreeView instance.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeViewSelectionMode (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public enum class TreeViewSelectionMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class TreeViewSelectionMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum TreeViewSelectionMode
Public Enum TreeViewSelectionMode
- Inheritance
-
TreeViewSelectionMode
- Attributes
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | A user can't select items. |
Single | 1 | A user can select a single item. |
Multiple | 2 | The user can select multiple items. |