Na próxima vez que o cursor passar sobre o comando na barra de ferramentas ou no painel da faixa de opções, o texto será exibido na dica de ferramenta.
Quando o comando é adicionado a uma barra de ferramentas ou painel da faixa de opções, o conteúdo da dica de ferramenta ampliada é exibido se as dicas de ferramenta ampliadas estiverem ativadas e o cursor passar sobre o comando para o intervalo de tempo designado.
Como um exemplo, digite o texto abaixo no 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>
O seguinte é um exemplo de uma dica de ferramenta estendida criada para o uso com um produto baseado no 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>