La prochaine fois que le curseur est placé au-dessus de la commande dans une barre d'outils ou un groupe de fonctions du ruban, le texte apparaît dans une info-bulle.
Lorsque la commande est ajoutée à une barre d'outils ou à un groupe de fonctions du ruban, le contenu de l'info-bulle détaillée s'affiche si les info-bulles détaillées sont activées et si le curseur est placé au-dessus de la commande pendant l'intervalle de temps défini.
Entrez par exemple le texte suivant dans l'éditeur de texte :
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:src="clr-namespace:Autodesk.Windows;assembly=AdWindows"> <src:RibbonToolTip x:Key="MYEH_CMD_0003"> <src:RibbonToolTip.ExpandedContent> <StackPanel> <TextBlock Background="AntiqueWhite" TextAlignment="Center"> Configures the settings for the current drawing. </TextBlock> </StackPanel> </src:RibbonToolTip.ExpandedContent> </src:RibbonToolTip> </ResourceDictionary>
Voici un exemple d'info-bulle détaillée créée pour un produit basé sur AutoCAD 2009.
<src:ProgressivePanel x:Key="MYEH_CMD_0003"> <StackPanel> <TextBlock Background="AntiqueWhite" TextAlignment="Center"> Configures the settings for the current drawing. </TextBlock> </StackPanel> </src:ProgressivePanel>
<src:RibbonToolTip x:Key="MYEH_CMD_0003"> <src:RibbonToolTip.ExpandedContent> <StackPanel> <TextBlock Background="AntiqueWhite" TextAlignment="Center"> Configures the settings for the current drawing. </TextBlock> </StackPanel> </src:RibbonToolTip.ExpandedContent> </src:RibbonToolTip>