Change node/shape selection color


Author
Message
Miguel Sevilla
Miguel Sevilla
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
Hi there, so we want to change the shape selection (highlight) color from Red to something else since we use Red to denote something else. Is there an easy way to do this? if so, a sample would be great. We are using the shape factories to create the various shapes and lines.

thanks for your help,

Miguel
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi,

To change the way the shapes look when selected you should modify the interactivity appearance of the drawing view. Here's an example that changes the stroke style of shapes when selected to green:

view.InteractiveAppearance.SelectedStrokeStyle = new NStrokeStyle(Color.Green);


Best Regards,
Nevron Support Team


Miguel Sevilla
Miguel Sevilla
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
Awesome, that worked great. Thanks for the prompt response.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search