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

2 posts, 0 answers
  1. Tony
    Tony avatar
    24 posts
    Member since:
    Nov 2011

    Posted 18 Mar 2014 Link to this post

    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?
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 21 Mar 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top