How to use custom template for SettingsPane in Diagram ?

2 posts, 0 answers
  1. Sopan
    Sopan avatar
    34 posts
    Member since:
    May 2012

    Posted 21 Aug 2013 Link to this post

    <telerik:RadDiagram x:Name="myDiagram" Grid.Row="1" IsBackgroundSurfaceVisible="False" ShapeTemplateSelector="{StaticResource ShapeTempleteSelecterr}"  IsZoomEnabled="False" ScrollViewer.VerticalScrollBarVisibility="Auto" >
                <primitives:ItemInformationAdorner.AdditionalContent>
                    <telerik:SettingsPane Diagram="{Binding ElementName=myDiagram}" Template="{StaticResource SettingPaneTemplete}" />
                </primitives:ItemInformationAdorner.AdditionalContent>
            </telerik:RadDiagram>



    I have written my custom template for SettingPane but I wants Partial custom. When we select the shape, the settingpane button will show and when we click on that button, settingpane window will show.

    so I want only that button, and when I click on that button my custom template will show.

    I had tried for that but button not shown, direct template shown.

    so how to solve this problem.

     
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 22 Aug 2013 Link to this post

    Hi Sopan,

     The clean way to use your Template is to use the SettingsPaneViewStyle property of the SettingsPane but it currently does not work. We will have resolution for this till the Q3 2013 official release. However, you can have implict style applied on the SettingsPaneView. We have sample demonstrating such approach in our XAML Git Hub Repository (Diagrams/CustomSettingsPane example).

    Regards,
    Petar Mladenov
    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
Back to Top