La siguiente vez que el cursor esté situado sobre el comando en una barra de herramientas o en un grupo de la cinta de opciones, se mostrará el texto en una información de herramientas.
Cuando se añade el comando a una barra de herramientas o un grupo de la cinta de opciones, se muestra el contenido de la información ampliada de herramientas siempre que esté habilitada y que el cursor permanezca sobre el comando durante el periodo de tiempo designado.
Por ejemplo, introduzca el siguiente texto en el editor de texto:
<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>
A continuación se muestra un ejemplo de una información ampliada de herramientas creada para su uso con un producto basado en 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>