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

Connectors don't appear when ContainerShape's template style customize.

3 Answers 66 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
seokhyun
Top achievements
Rank 1
Veteran
seokhyun asked on 02 Apr 2020, 02:28 AM

Connectors don't appear when ContainerShape's template style customize.

In detail, ContainerShape style is my own Customized one. the style has setter "Template", not "ContentTemplate". 

when used Customized ContentTemplate, then appear Connectors. but used Customized Template, doesn't appear Connectors.

Though it doesn't appear Connectors, Can connect links with other shapes on behind code.

I think it that ContainerShape has connectors, but doesn't appear connector because customize using Template, not ContentTemplate.

but I must use a customized template......
Please, how can I appear Connectors, when I use style to customizing Template.

 

Always Thank you for your help.

3 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 06 Apr 2020, 11:38 AM

Hi,

When modifying the ControlTemplate you should extract the default one for the theme that you are using. It contains the default visual representation, which has a ConnectorsControl element. You can make sure that this element is not omitted. Additionally, you should make sure that the VisualState, which shows the ConnectorsControl is also present. 

I hope you find this helpful.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
seokhyun
Top achievements
Rank 1
Veteran
answered on 14 Apr 2020, 07:27 AM

Oh, Thank you for your help.

I solved it with your advice.

There was a problem where you said it.

No code was entered to show the connector in ControlTemplate style.

0
Vladimir Stoyanov
Telerik team
answered on 16 Apr 2020, 12:00 PM

Hello,

I am glad to hear that you were able to show the connectors. 

Don't hesitate to contact us again, if you have any other questions.

Regards,
Vladimir Stoyanov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Diagram
Asked by
seokhyun
Top achievements
Rank 1
Veteran
Answers by
Vladimir Stoyanov
Telerik team
seokhyun
Top achievements
Rank 1
Veteran
Share this question
or