Click here to Skip to main content
12,406,342 members (68,002 online)
Click here to Skip to main content


116 bookmarked

WPF Common TaskDialog for Vista and XP

, 30 Dec 2007 CPOL
WPF custom TaskDialog that renders the same on Vista and XP. This custom dialog simplifies programming by providing a simple interface for developers that is not Operating System dependent. This solution does not use the Windows API for rendering.
<Window x:Class="Window1"
    Title="CustomDialogSample" Height="300" Width="300"
        <Button Margin="5" x:Name="btnOne" Content="Example One" />
        <Button Margin="5" x:Name="btnTwo" Content="Example Two" />
        <Button Margin="5" x:Name="btnThree" Content="Example Three" />

        <TextBlock Margin="10" x:Name="tbResults" Text="Click buttons to test dialog" />

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

Karl Shifflett
United States United States

Current passions are: Electron, ES6, Node.js, Angular, Aurelia, hybrid, Socket.IO, MQTT, and IoT.

Still keen on WPF and Prism, but currently Electron and ES6 deliver the same apps with much better performance, and they are cross-platform.

My Github Repros

Just a grain of sand on the worlds beaches.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160730.1 | Last Updated 30 Dec 2007
Article Copyright 2007 by Karl Shifflett
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid