How to create a custom shape

Thread is closed for posting
3 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 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. 824B6A04-22CE-4BBD-9F3B-D8BAD3C397A9
    824B6A04-22CE-4BBD-9F3B-D8BAD3C397A9 avatar
    9 posts
    Member since:
    May 2014

    Posted 01 Jul 2014 in reply to 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD 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. 68128D89-32C6-4AA9-852A-8526EC24226A
    68128D89-32C6-4AA9-852A-8526EC24226A avatar
    1251 posts
    Member since:
    Feb 2021

    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
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.