Untitled

(Steven Felgate) #1
6 Click Apply.
When the command is added to a toolbar or ribbon panel, the extended
help is displayed if extended help is enabled for tooltips and the cursor
hovers over the command for the designated time interval.

To create an XAML file
1 In a text editor (for example, Microsoft® Windows® Notepad), create a
new file and enter the elements needed to define the extended help
content.
As an example, enter the text below in the text editor:
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presenta
tion"
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>
<TextBlockBackground="AntiqueWhite"TextAlignment="Center">
Configuresthe settingsfor the currentdrawing.
</TextBlock>
</StackPanel>
</src:RibbonToolTip.ExpandedContent>
</src:RibbonToolTip>
</ResourceDictionary>

126 | Chapter 4 User Interface Customization

Free download pdf