This is a migrated thread and some comments may be shown as answers.

How to use custom template for SettingsPane in Diagram ?

1 Answer 134 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Sopan
Top achievements
Rank 1
Sopan asked on 22 Aug 2013, 04:56 AM
<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.

 

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 22 Aug 2013, 07:28 AM
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 >>
Tags
Diagram
Asked by
Sopan
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or