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. Image for the cookie policy date

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


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?

1 Reply

SS Suresh Shanmugam Syncfusion Team 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 

Live Chat Icon For mobile
Up arrow icon