ClassDiagram Full Member Icons

8 posts, 1 answers
  1. Steve
    Steve avatar
    50 posts
    Member since:
    Apr 2013

    Posted 07 Jul 2013 Link to this post

    Hi,

    Do all member icons exists? eg : Class Internal Template, Class Protected Template, Class Private Template, Constructor Internal Template, Constructor Protected Template, Constructor Private Template, and other member icons.

    Thanks.
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 11 Jul 2013 Link to this post

    Hi Steve,

    Unfortunately I'm not sure I understand your query correctly. Can you please elaborate further on your question.

    Also, please note that the ClassDiagram demo displays Paths in the RadTreeViewItems that represent the structure of classes and there are no member icons in the solution. The Paths are designed to visually represent each class type in the structure and they are defined in the DataTemplates of the items.

    Regards,
    Tina Stancheva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Steve
    Steve avatar
    50 posts
    Member since:
    Apr 2013

    Posted 11 Jul 2013 Link to this post

    Hi Tina, Thanks for reply,
    I mean the member type icons, Do all member icons exists? for example : Class Internal icon Template, Class Protected icon Template, Class Private icon Template, Constructor Internal icon Template, Constructor Protected icon Template, Constructor Private icon Template.



  5. Answer
    Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 11 Jul 2013 Link to this post

    Hi Steve,

    Thank you for getting back to us. The images displayed in the snapshot you sent are not really icons. These are paths defined in the different DataTemplates used to represent the different nodes in the RadTreeView:

    <DataTemplate x:Key="PropertyTemplate">
        <StackPanel Orientation="Horizontal">
            <Grid Height="13" Margin="0 0 5 0" Width="16">
                <Rectangle Fill="White" Margin="0,0,6,0" />
                <Path
                        Data="M8,7.6205708E-13 L10,7.6205708E-13 C10.034517,-2.980156E-08 10.068627,0.00087441405 10.102244,0.0025814176 L10.10292,0.0026024878 C11.159659,0.056168556 12,0.92994821 12,1.9999999 L14,1.9999999 L14,7 L11.73177,7 L11.710453,7.0370727 C11.359678,7.6143703 10.724874,8 10,8 L8,8 L4,8 C3.4477153,8 3,7.7761426 3,7.5 C3,7.2238574 3.4477153,7 4,7 L6.2682304,7 L6.2413893,6.9533186 C6.0874443,6.6699324 6,6.3451781 6,6 L3,6 C2.4477153,6 2,5.7761426 2,5.5 C2,5.2238574 2.4477153,5 3,5 L6,5 L6,4 L3,4 C2.4477153,4 2,3.7761424 2,3.5 C2,3.2238576 2.4477153,3 3,3 L6,3 C6,2.6548219 6.0874443,2.3300676 6.2413893,2.0466812 L6.2682304,1.9999999 L1,1.9999999 C0.44771528,2 0,1.7761424 0,1.4999999 C0,1.2238575 0.44771528,0.99999994 1,0.99999976 L7.9999914,0.99999976 L7.8977556,0.99741852 C7.3934999,0.97181356 7,0.75888348 7,0.49999997 C7,0.2238576 7.4477153,-2.980156E-08 8,7.6205708E-13 z"
                        Fill="#FF986827" Margin="2,2,0,3" Stretch="Fill" UseLayoutRounding="False" />
                <Path
                        Data="M2,10 L5,10 L5,11 L2,11 z M2,8 L3,8 L3,9 L2,9 z M2,6 L3,6 L3,7 L2,7 z M0,0 L10,0 L10,1 L8,1 L8,2 L1,2 L1,12 L9,12 L9,11 L10,11 L10,13 L9,13 L0,13 L0,12 L0,2 L0,1 z"
                        Fill="#FF15ACA9" Margin="0,0,6,0" Stretch="Fill" UseLayoutRounding="False" />
            </Grid>
            <TextBlock Text="{Binding Name}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="MethodTemplate">
        <StackPanel Orientation="Horizontal">
            <Grid Height="11" Margin="0,0,5,0" Width="8">
                <Path Data="M-0.044893634,-3.6064188 L5,0 L5,3 L-0.044893634,-0.60641938 z" Fill="#FFC2538F"
                        Margin="0,3.584,2.98,0.851" Stretch="Fill" UseLayoutRounding="False" />
                <Path Data="M0,0 L3,-3.6064188 L3,-0.60641938 L0,3 z" Fill="#FF4B072B" HorizontalAlignment="Right"
                        Margin="0,3.584,-0.02,0.851" Stretch="Fill" Width="3" UseLayoutRounding="False" />
                <Path Data="M2.9699805,-4.1939116 L8.0148745,-0.58749235 L5,3 L-0.044893634,-0.60641938 z"
                        Fill="#FFF594C8" Margin="0,0,-0.02,3.851" Stretch="Fill" UseLayoutRounding="False" />
            </Grid>
            <TextBlock Text="{Binding Name}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="EventTemplate">
        <StackPanel Orientation="Horizontal">
            <Path
                    Data="M87.74894,176.51134 L119.70626,104.60722 L67.694443,104.9836 L101.06092,29.856691 L141.7377,29.761328 L104.81496,86.621521 L160.16574,86.596786"
                    Fill="#FFF19720" Margin="0,0,5,0" Stretch="Fill" UseLayoutRounding="False" Width="9.587" Height="16" />
            <TextBlock Text="{Binding Name}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="FieldTemplate">
        <StackPanel Orientation="Horizontal">
            <Grid Width="8" Height="11" Margin="0,0,5,0">
                <Path Data="M-0.044893634,-3.6064188 L5,0 L5,3 L-0.044893634,-0.60641938 z" Fill="#FF207632"
                        Margin="0,3.584,2.98,0.851" Stretch="Fill" UseLayoutRounding="False" />
                <Path Data="M0,0 L3,-3.6064188 L3,-0.60641938 L0,3 z" Fill="#FF002708" HorizontalAlignment="Right"
                        Margin="0,3.584,-0.02,0.851" Stretch="Fill" Width="3" UseLayoutRounding="False" />
                <Path Data="M2.9699805,-4.1939116 L8.0148745,-0.58749235 L5,3 L-0.044893634,-0.60641938 z"
                        Fill="#FF63D87C" Margin="0,0,-0.02,3.851" Stretch="Fill" UseLayoutRounding="False" />
            </Grid>
            <TextBlock Text="{Binding Name}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="PublicClassTemplate">
        <StackPanel Orientation="Horizontal">
            <Grid Height="16" Margin="0,0,5,0" Width="16">
                <Path
                        Data="M0,0 L0.99999994,0 L1.9999999,0 L5,0 L5,1 L1.9999999,1 L1.9999999,6 L5,6 L5,7 L0.99999994,7 L0.99999994,6 L0.99999994,1 L0,1 z"
                        Fill="#FF767676" Margin="7,6,4,3" Stretch="Fill" UseLayoutRounding="False" />
                <Path Data="M-2.000767,2.3874679 L2.8365026,-4.2175107 L7.6466541,-0.92841721 L2.9020197,5.6310091 z"
                        Fill="#FFC2538F" HorizontalAlignment="Right" Margin="0,3.736,0,6.132" Stretch="Fill"
                        Width="5.908" UseLayoutRounding="False" />
                <Path Data="M-2.000767,2.3874679 L2.8365026,-4.2175107 L7.6466541,-0.92841721 L2.9020197,5.6310091 z"
                        Fill="#FFF19720" Margin="0,0,6.408,6.044" Stretch="Fill" UseLayoutRounding="False" />
                <Path Data="M-2.000767,2.3874679 L2.8365026,-4.2175107 L7.6466541,-0.92841721 L2.9020197,5.6310091 z"
                        Fill="#FF15ACA9" HorizontalAlignment="Right" Stretch="Fill" Width="5.908"
                        UseLayoutRounding="False" Height="6.132" VerticalAlignment="Bottom" />
            </Grid>
            <TextBlock Text="{Binding Header}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="PublicInterfaceTemplate">
        <StackPanel Orientation="Horizontal">
            <Path
                    Data="M11,1.9999999 C10.447716,1.9999998 10,2.447715 10,2.9999998 C10,3.5522845 10.447716,3.9999998 11,3.9999998 C11.552284,3.9999998 12,3.5522845 12,2.9999998 C12,2.447715 11.552284,1.9999998 11,1.9999999 z M11,0 C12.656855,4.4703484E-08 14,1.3431457 14,3 C14,4.6568542 12.656855,6 11,6 C9.7055826,6 8.6026373,5.1802087 8.1820393,4.0315003 L8.17138,3.9999998 L3.7317696,3.9999998 L3.7104535,4.0370727 C3.3596787,4.6143703 2.7248735,5 2,5 C0.89543056,5 0,4.1045694 0,2.9999998 C0,1.8954302 0.89543056,0.99999982 2,0.99999976 C2.7248735,0.99999982 3.3596787,1.3856294 3.7104535,1.9629271 L3.7317696,1.9999999 L8.171381,1.9999999 L8.1820393,1.9684994 C8.6026373,0.81979114 9.7055826,3.8184226E-08 11,0 z"
                    Height="6" Stretch="Fill" UseLayoutRounding="False" Margin="0 0 5 0">
                <Path.Fill>
                    <SolidColorBrush Color="#FF333333">
                        <SolidColorBrush.RelativeTransform>
                            <MatrixTransform Matrix="Identity" />
                        </SolidColorBrush.RelativeTransform>
                        <SolidColorBrush.Transform>
                            <MatrixTransform Matrix="Identity" />
                        </SolidColorBrush.Transform>
                    </SolidColorBrush>
                </Path.Fill>
            </Path>
            <TextBlock Text="{Binding Header}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="PublicEnumTemplate">
        <StackPanel Orientation="Horizontal">
            <Grid Height="15" Margin="0,0,5,0" Width="14">
                <Path
                        Data="M2,7 L2,8 L5.9999995,8 L5.9999995,7 z M1.9999995,5 L1.9999995,6 L5.999999,6 L5.999999,5 z M0.99999994,4 L7,4 C7.5522847,4 8,4.4477153 8,5 L8,8 C8,8.5522842 7.5522847,9 7,9 L0.99999994,9 C0.44771525,9 0,8.5522842 0,8 L0,5 C0,4.4477153 0.44771525,4 0.99999994,4 z M7.0000005,7.1054274E-15 L13,7.1054274E-15 C13.552285,-5.9604638E-08 14,0.44771522 14,0.99999994 L14,4 C14,4.5522847 13.552285,5 13,5 L9.000001,5 C9.000001,3.8954306 8.1045704,3 7.000001,3 L6.0000005,3 L6.0000005,0.99999994 C6.0000005,0.44771522 6.4477158,-5.9604638E-08 7.0000005,7.1054274E-15 z"
                        Fill="#FF333333" Stretch="Fill" UseLayoutRounding="False" />
            </Grid>
            <TextBlock Text="{Binding Header}" />
        </StackPanel>
    </DataTemplate>
     
    <DataTemplate x:Key="PublicStructTemplate">
        <StackPanel Orientation="Horizontal">
            <Grid Height="14" Margin="0,0,5,0" Width="16">
                <Path Data="M-2.0969334,2.5279021 L1.3181119,-2.2757058 L9.420723,3.0598094 L6.1663489,7.9684477 z"
                        Fill="#FFC2538F" HorizontalAlignment="Right" Margin="0,3.908,0.532,3.715" Stretch="Fill"
                        Width="7.053" UseLayoutRounding="False" />
                <Path Data="M-2.000767,2.3050342 L2.8365026,-4.2175107 L7.6466541,-0.92841721 L2.8182051,5.6310091 z"
                        Fill="#FFF19720" Margin="0,0,6.408,4.044" Stretch="Fill" UseLayoutRounding="False" />
                <Path Data="M-2.000767,2.3874679 L3.0066257,-4.3513513 L7.983006,-0.99349213 L3.0172257,5.7499647 z"
                        Fill="#FF15ACA9" Margin="4.684,0,5.202,-0.03" Stretch="Fill" UseLayoutRounding="False"
                        Height="6.29" VerticalAlignment="Bottom" />
            </Grid>
            <TextBlock Text="{Binding Header}" />
        </StackPanel>
    </DataTemplate>

    This is why if your question is whether we provide such icons within our demo solution resources, the answer is no, but you can use these paths in your solution to create the same visual representations. Please let me know if this is what you had in mind or if I'm still missing something.

    Regards,
    Tina Stancheva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  6. Steve
    Steve avatar
    50 posts
    Member since:
    Apr 2013

    Posted 11 Jul 2013 Link to this post

    Hi Tina, Thanks for reply,

    I am writing a program like JustDecompile, And I'm going to use high quality icons.
    In demo only exist Public icons and not exist Internal, Protected, Private member icons.
  7. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 16 Jul 2013 Link to this post

    Hi Steve,

    We don't provide icons as part of our suit. The images you see in our ClassDiagram example are paths prepared by our designers strictly for the purpose of the example. This is why unfortunately we can't assist you in getting other icons to represent the different types of classes displayed in your application.

    Regards,
    Tina Stancheva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  8. Steve
    Steve avatar
    50 posts
    Member since:
    Apr 2013

    Posted 16 Jul 2013 Link to this post

    Hi, Thanks for your reply,

    Do these icons designed by Blend? or designed in photoshop and import blend?
  9. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 19 Jul 2013 Link to this post

    Hi Steve,

    These particular paths were created in Blend. I hope this information will help you.

    Regards,
    Tina Stancheva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
UI for WPF is Visual Studio 2017 Ready