Click here to Skip to main content
12,406,592 members (50,318 online)
Click here to Skip to main content

Stats

239.3K views
16.2K downloads
311 bookmarked
Posted

WPF Diagram Designer - Part 2

, 8 Oct 2008 CPOL
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...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160730.1 | Last Updated 8 Oct 2008
Article Copyright 2008 by sukram
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid