Click here to Skip to main content
13,053,345 members (64,157 online)
Click here to Skip to main content

Stats

266.8K views
17.5K downloads
320 bookmarked
Posted 28 Jan 2008

WPF Diagram Designer - Part 2

, 8 Oct 2008
Designer Canvas with Zoombox
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:s="clr-namespace:DiagramDesigner">
    <s:Toolbox x:Key="SymbolStencils"
               DefaultItemSize="55,55">
        <ItemsControl.Items>
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/cross.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/chart2.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/chart1.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/chart3.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/attention.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/ring.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/world.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/walk.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/mail.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/software.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/nuclear.png" />
            <Image IsHitTestVisible="False"
                   Stretch="Fill"
                   Source="../Images/plus.png" />

        </ItemsControl.Items>
    </s:Toolbox>
</ResourceDictionary>

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.

License

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

Share

About the Author

sukram
Austria Austria
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170713.1 | Last Updated 8 Oct 2008
Article Copyright 2008 by sukram
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid