Share via


TreeViewDragItemsStartingEventArgs Classe

Définition

Fournit des données d’événement pour l’événement TreeView.DragItemsStarting .

public ref class TreeViewDragItemsStartingEventArgs sealed
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Version(1)]
class TreeViewDragItemsStartingEventArgs final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class TreeViewDragItemsStartingEventArgs final
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=7)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Version(1)]
public sealed class TreeViewDragItemsStartingEventArgs
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public sealed class TreeViewDragItemsStartingEventArgs
Public NotInheritable Class TreeViewDragItemsStartingEventArgs
Héritage
Object Platform::Object IInspectable TreeViewDragItemsStartingEventArgs
Attributs
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute MarshalingBehaviorAttribute VersionAttribute ContractVersionAttribute

Exemples

Conseil

Pour plus d’informations, des conseils de conception et des exemples de code, consultez TreeView.

L’application WinUI 3 Gallery comprend des exemples interactifs de la plupart des contrôles et des fonctionnalités WinUI 3. Procurez-vous l’application sur le Microsoft Store ou le code source sur GitHub.

Propriétés

Cancel

Obtient ou définit une valeur qui indique si l’action de glissement d’élément doit être annulée.

Data

Obtient la charge utile de données associée à une action de glissement d’éléments.

Items

Obtient la collection faiblement typée d’objets sélectionnés pour l’action de glissement d’élément.

S’applique à

Voir aussi