Share via


TreeView.CanReorderItems Proprietà

Definizione

Ottiene o imposta un valore che indica se gli elementi nella visualizzazione possono essere riordinati tramite l'interazione dell'utente.

Questa documentazione si applica a WinUI 2 per la piattaforma UWP (per WinUI nel SDK per app di Windows, vedi gli spazi dei nomi SDK per app di Windows).

public:
 property bool CanReorderItems { bool get(); void set(bool value); };
bool CanReorderItems();

void CanReorderItems(bool value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
bool CanReorderItems();

void CanReorderItems(bool value);
public bool CanReorderItems { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")]
public bool CanReorderItems { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="true")] set; }
Public Property CanReorderItems As Boolean
<TreeView CanReorderItems="bool"/>

Valore della proprietà

Boolean

bool

true se gli elementi nella visualizzazione possono essere riordinati tramite l'interazione dell'utente; in caso contrario, false. Il valore predefinito è True.

Attributi
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Si applica a