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

Is the org chart compatible with the no-xaml libraries?

1 Answer 16 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 18 Mar 2014, 01:02 PM
We have recently upgraded our org chart (based on Telerik's 2012 sample) to the 2013_3_1320 version. We are using the no-xaml libraries because we have our own custom theme. (Our theme is basically the Windows8 theme with just some color tweaks).  Our org chart uses custom shapes. After upgrading, the custom shapes do not render. Only the class name is displayed (see attached screen shot). Everything else appears to work. 

Are custom shames supported in the Windows 8 no-xaml libraries? If so, any suggestions on where to look?

1 Answer, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 21 Mar 2014, 09:18 AM
Hi Tony,

From your snapshot it seems that the Style for the Shapes is not applied correctly. Do you use custom Style for your DiagramShapes ? If yes you will probably need to base it on like so:
<Style TargetType=RadDiagramShape , BasedOn={StaticResource RadDiagramShapeStyle}

On the other hand you can also check the contructor of your custom shapes for the following line:
public class MindmapRootShape : RadDiagramShapeBase
    {
        public MindmapRootShape()
        {
            this.DefaultStyleKey = typeof(MindmapRootShape);
Also we also need to know whether you use ShapeStyleSelector because we recently found the following issue.

If none of these helps, is it possible for you to send us an isolated sample that we can  investigate and advice you better ? Thank you in advance for your cooperation.

Regards,
Petar Mladenov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Diagram
Asked by
Tony
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Share this question
or