Propriété Command.Comment
Représente un commentaire ou une annotation pour une commande.
Utilisation
<Command.Comment/>
Attributs
Il n’y a pas d’attributs.
Éléments enfants
Il n’y a pas d’éléments enfants.
Éléments parents
Élément |
---|
Commande |
Notes
Optionnel.
Peut se produire au maximum une fois pour chaque commande.
Le commentaire est associé à une définition de commande dans le fichier d’en-tête du ruban, par exemple. #define cmdSave 25003 /* Save */
Cet élément contient une valeur de type xs:string.
La longueur maximale est de 250 caractères.
Exemples
L’exemple suivant illustre le balisage d’un élément Command avec une déclaration Command.Comment .
<Command>
<Command.Name>cmdSave</Command.Name>
<Command.Symbol>ID_FILE_SAVE</Command.Symbol>
<Command.Comment>Save</Command.Comment>
<Command.Id>25003</Command.Id>
<Command.LabelTitle>
<String>
<String.Content>Label for Save</String.Content>
<String.Id>59999</String.Id>
<String.Symbol>strSave</String.Symbol>
</String>
</Command.LabelTitle>
<Command.TooltipTitle>Tooltip title with && for Save Command</Command.TooltipTitle>
<Command.TooltipDescription>Tooltip description for Save Command.</Command.TooltipDescription>
<Command.Keytip>s1</Command.Keytip>
</Command>
Spécifications
Condition requise | Valeur |
---|---|
Client minimal pris en charge |
Windows 7 [applications de bureau uniquement] |
Serveur minimal pris en charge |
Windows Server 2008 R2 [applications de bureau uniquement] |
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