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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:





127592 Nov 25,2016 01:14 PM Nov 28,2016 07:17 AM WPF 1
Tags: SfDiagram
Asked On November 25, 2016 01:14 PM


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 07:17 AM

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.

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.