We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

[Bug?] Wrong node selection bounds when Node's UnitWidth and UnitHeight propertes are defined in Style (XAML)

Thread ID:





127592 Nov 25,2016 06:14 PM UTC Nov 28,2016 12:17 PM UTC WPF 1
Tags: SfDiagram
Asked On November 25, 2016 06:14 PM UTC


Straight to the example:

Node Style definition (XAML):

<Style TargetType="sf:Node" BasedOn="{StaticResource NodeBindingStyle}">
        <Setter Property="Shape" Value="{StaticResource Rectangle}" />
        <Setter Property="UnitHeight" Value="30" />
        <Setter Property="UnitWidth" Value="100" />
... ... ...

Visual result:

However if defined in code (in my case - in VM while initializing new NodeViewModel) node selection renders correctly.
So that seems like not normal behavior, isn't it?

Suresh Shanmugam [Syncfusion]
Replied On November 28, 2016 12:17 PM UTC

Hi Artemy, 
We have created a support incident under your account to track the status of the reported queries. Please log on to our support website to check for further updates. 
Please let us know if you require further assistance on this. 
Suresh Shanmugam 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon