TreeView.CanReorderItems 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 a value that indicates whether items in the view can be reordered through user interaction.
Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.TreeView.CanReorderItems (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).
public:
property bool CanReorderItems { bool get(); void set(bool value); };
bool CanReorderItems();
void CanReorderItems(bool value);
public bool CanReorderItems { get; set; }
var boolean = treeView.canReorderItems;
treeView.canReorderItems = boolean;
Public Property CanReorderItems As Boolean
<TreeView CanReorderItems="bool"/>
Property Value
Boolean
bool
true if items in the view can be reordered through user interaction; otherwise, false. The default is true.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|