TreeView.CanDragItems Propiedad

Definición

Obtiene o establece un valor que indica si los elementos de la vista se pueden arrastrar como carga de datos.

Esta documentación se aplica a WinUI 2 para UWP (para WinUI en el SDK de Aplicaciones para Windows, consulta los espacios de nombres SDK de Aplicaciones para Windows).

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

void CanDragItems(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 CanDragItems();

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

Valor de propiedad

Boolean

bool

true si los elementos de la vista se pueden arrastrar como carga de datos; de lo contrario, false. El valor predeterminado es true.

Atributos
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Se aplica a