How to hide dots on node selection

Hi,

how can you hide the resize dots when a node is selected ?

we already disable the node resize functionailty but the dots are still shown

 


1 Reply 1 reply marked as answer

BR Balavignesh RaviChandran Syncfusion Team March 16, 2023 08:21 AM UTC

You can enable the "HideThumb" constraints to hide the resize thumbs in the selectors. Please refer to the following code example.

        Node node1 = new Node()
            {
                ID = "node1",
                Width = 150,
                Height = 100,
                OffsetX = 270,
                OffsetY = 210,
                Shape = new Shape()
                {
                    Type = NodeShapes.Basic,
                },
                Constraints = NodeConstraints.Default & ~NodeConstraints.Resize | NodeConstraints.HideThumbs
            };

 

 



Marked as answer
Loader.
Up arrow icon