Profile Picture

how to change the appearance of the bounds rectangle when a shape is selected

Posted By Adam Leffert 7 Years Ago

how to change the appearance of the bounds rectangle when a shape is...

Author
Message
Adam Leffert
Question Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 4, Visits: 6
I read all the doc and Q&A I could find, but can not figure out how to change the appearance of the green, dashed rectangle that appears when the user selects a shape in a WinForms diagram.

View > InteractiveAppearance > SelectedStrokeStyle
changes the appearance of the shape itself, not the bounding box.

Shape > InteractionStyle > Bounds = false
hide the bounding box but I want to change its stroke and color, not hide it

Which object properties do I change to change the appearance of the selected shapes bounding box?

Thanks very much in advance,

Adam Leffert



Nevron Support
This post has been flagged as an answer
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,000
Hi,

You should change the value of drawingView.TrackersAppearance.RubberBandStrokeStyle property.

Best Regards,
Nevron Support Team



Adam Leffert
Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 4, Visits: 6
Works great.  Thanks!

I spent quite a few hours working on this question, because I'm a firm believer in RTFM.
I abandoned the "tracker" properties because they seemed to be the 8 shapes that appear when I select a shape.
A Google search for
nevron diagram selected shape style

does not return any results that lead to the answer.
I realize that search visibility is difficult.  I understand that "RubberBandStrokeStyle" is its name, but no way for me to know that if I didn't know that the thing I was seeing is a static rubber band.  I clicked the shape once to select it, so I wasn't thinking "rubber band".  If I had dragged to select it, I might have associated that concept with the style.

Anyhow, the answer is in the Forum now. Smile

Best regards,

Adam

Adam Leffert
Posted 7 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 4, Visits: 6
Works great. Thanks!

I spent quite a few hours working on this question, because I'm a firm believer in RTFM.
I abandoned the "tracker" properties because they seemed to be the 8 shapes that appear when I select a shape.
A Google search for
nevron diagram selected shape style

does not return any results that lead to the answer.
I realize that search visibility is difficult. I understand that "RubberBandStrokeStyle" is its name, but no way for me to know that if I didn't know that the thing I was seeing is a static rubber band. I clicked the shape once to select it, so I wasn't thinking "rubber band". If I had dragged to select it, I might have associated that concept with the style.

Anyhow, the answer is in the Forum now. Smile

Best regards,

Adam



Similar Topics


Reading This Topic