How to create a custom shape

3 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 20 Mar 2012 Link to this post


    RadControls version 2012.1.0215
    .NET version 40
    Visual Studio version 2010
    programming language C#
    browser support

    all browsers supported by RadControls

    This project demonstrates how to create a WPF Custom Control deriving from the Telerik.Windows.Controls.Diagrams.RadDiagramShapeBase class. It showcases a sample custom shape that displays a radio station information - name, frequency, current loading progress and rating.
  2. Rajkumar
    Rajkumar avatar
    9 posts
    Member since:
    May 2014

    Posted 01 Jul 2014 in reply to Telerik Admin Link to this post

    I created my custom shape based on RadDiagramShape.

    I would like to specify points on my shape which can have connectors.

    What is the best way to describe this ?
  3. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1167 posts

    Posted 02 Jul 2014 Link to this post


    There is a control responsible for visualizing the RadDiagramConnectors over the RadDiagramShapes. This control is defined in the Telerik.Windows.Controls.Diagrams assembly and it is called ConnectorsControl.

    You can see how this control should be used in the default ControlTemplate targeting the RadDiagramShape. You can find it in our Telerik.Windows.Controls.Diagrams.xaml file.

    If you have any further assistance, please open a new thread in our forum and ask your question there.

    Thank you for understanding.

    Pavel R. Pavlov
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top