|
<Window x:Class="WpfTestApp.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Name="winMain" Width="350" Height="200" KeyDown="winMain_KeyDown">
<Canvas Name="canvMain">
<Button Content="No Help" Canvas.Left="15" Canvas.Top="30" />
<Button Content="Has Help" AutomationProperties.HelpText="I have help" Canvas.Left="75" Canvas.Top="30" />
<GroupBox Header="Options" Background="LightGray" Canvas.Left="10" Canvas.Top="75" AutomationProperties.HelpText="A verbose description\r\nof the options">
<StackPanel Orientation="Horizontal">
<Button Content="One" Margin="5" AutomationProperties.HelpText="Button 1 Help" />
<Button Content="Two" Margin="5" />
<Button Content="Three" Margin="5" AutomationProperties.HelpText="Button 3 Help" />
</StackPanel>
</GroupBox>
<ListBox Canvas.Left="150" Canvas.Top="10">
<Image Source="Globe.png" Margin="10" />
<Image Source="CD.png" Margin="10" AutomationProperties.HelpText="Use physical media" />
</ListBox>
<ListBox Canvas.Left="240" Canvas.Top="10" AutomationProperties.HelpText="Save Options">
<Image Source="Globe.png" Margin="10" AutomationProperties.HelpText="Upload to the internet" />
<Image Source="CD.png" Margin="10" AutomationProperties.HelpText="Use physical media" />
</ListBox>
</Canvas>
</Window>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Expert in C#, .NET, WinUI/WPF, Azure, and SQL Server.
I started working with .NET and C# professionally in 2003 and never looked back. I have been an integral part of a dozen complete software lifecycles, been a driving force behind two successful startups, and have led development teams.