IButtonControl.CommandArgument Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit un argument facultatif propagé à l'événement Command.
public:
property System::String ^ CommandArgument { System::String ^ get(); void set(System::String ^ value); };
public string CommandArgument { get; set; }
member this.CommandArgument : string with get, set
Public Property CommandArgument As String
Valeur de propriété
Argument propagé à l'événement Command.
Remarques
Un contrôle qui implémente l’interface IButtonControl doit implémenter la CommandArgument propriété et la CommandName propriété pour indiquer l’argument et le nom de la commande qui sont propagés à l’événement Command .
S’applique à
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour