Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

A Simple, Integrated WPF Help System

, 1 Mar 2010 CPOL
Give your users quick, visual help without forcing them to leave your app.
<Window x:Class="WpfTestApp.Window1"
    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" />

        <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 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" />

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.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Josh Fischer
Software Developer (Senior)
United States United States
CodeProject MVP 2010
CodeProject prize winner - Best C# article of December 2009

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.1411022.1 | Last Updated 1 Mar 2010
Article Copyright 2010 by Josh Fischer
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid