September 2012
Intermediate to advanced
464 pages
10h 55m
English
Tooltips are typically those yellowish (or another color, depending on the Windows theme and user customization) pop ups that show up when the mouse pointer hovers over something important within the UI, providing some extra information relevant to that something. WPF makes it easy to create tooltips, either standard ones, or custom.
Make sure Visual Studio is up and running.
CH04.ToolTips.MainWindow.xaml. Add two rows to the existing Grid as follows:<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition />
</Grid.RowDefinitions>ToolBar to the Grid, with two buttons in it:<ToolBar> <Button Content="Copy" FontSize="16" Margin="4" Padding="4" ...