Command. LabelDescription, propriété
Représente une description de l’étiquette.
Usage
<Command.LabelDescription>
child elements
</Command.LabelDescription>
Attributs
Il n’y a pas d’attributs.
Éléments enfants
| Élément | Description |
|---|---|
| String |
Peut se produire au plus une fois |
Éléments parents
| Élément |
|---|
| Commande |
Notes
Optionnel.
Peut se produire au plus une fois pour chaque commande.
Command. LabelDescription peut contenir une valeur de type xs : String limitée à toute séquence de caractères, y compris les espaces blancs et les sauts de ligne.
Notes
Utilisez la référence de caractère XML UCS (Universal Character Set) 
 pour spécifier un saut de ligne.
La longueur maximale est illimitée.
Si aucune valeur n’est fournie pour Command. LabelDescription, l’élément enfant String est requis.
Notes
Si Command. LabelDescription contient à la fois une valeur et un élément enfant de chaîne , la chaîne est prioritaire.
Command. LabelDescription prend uniquement en charge l’alignement à gauche.
Exemples
L’exemple suivant montre un manifeste de commandes du presse-papiers avec différentes déclarations Command. LabelDescription .
<Command Name="cmdHomeTab"
LabelTitle="Home"
Keytip="H" />
<Command Name="cmdClipboardGroup"
Symbol="IDR_CMD_CLIPBOARD"
Id="10000"
Comment="Command definition for clipboard group"
LabelTitle="Clipboard"
Keytip="CB" />
<Command Name="cmdCopy"
Symbol="IDR_CMD_COPY"
LabelTitle="Copy"
LabelDescription="Copy"
Keytip="C"
TooltipTitle="Copy"
TooltipDescription="Click to copy">
<Command.SmallImages>
<Image>res/copyS_16.bmp</Image>
</Command.SmallImages>
<Command.LargeImages>
<Image>res/copyL_32.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="cmdPaste"
Symbol="IDR_CMD_PASTE" >
<Command.LabelTitle>Paste</Command.LabelTitle>
<Command.LabelDescription>
<String Content="Paste contents of clipboard"
Id="10001"
Symbol="IDR_RES_LABELDESC_PASTE" />
</Command.LabelDescription>
<Command.Keytip>P</Command.Keytip>
<Command.TooltipTitle>
<String Content="Paste contents of clipboard"
Id="10002"
Symbol="IDR_RES_TOOLTIP_PASTE"/>
</Command.TooltipTitle>
<Command.TooltipDescription>
<String Content="Click to paste contents of clipboard"/>
</Command.TooltipDescription>
<Command.SmallImages>
<Image
Id="10010"
MinDPI="96"
Symbol="IDR_RES_SMALL_IMAGE96">
<Image.Source>res/pasteS_96bpp.bmp</Image.Source>
</Image>
<Image Source="res/pasteS_120bpp.bmp"
Id="10011"
MinDPI="120"
Symbol="IDR_RES_SMALL_IMAGE120" />
</Command.SmallImages>
<Command.LargeImages>
<Image>res/pasteL_32.bmp</Image>
</Command.LargeImages>
</Command>
<Command Name="cmdMinimize"
Symbol="IDR_CMD_MINIMIZE"
Id="10001"
LabelTitle="Minimize" />
Spécifications
| Condition requise | Valeur |
|---|---|
| Client minimal pris en charge |
applications de [ bureau Windows 7 uniquement] |
| Serveur minimal pris en charge |
Windows Serveur 2008 R2, [ applications de bureau uniquement] |