Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Name of color setting for selected XAML statement

When I click on an element in Visual Studio's XAML designer, VS adds a faint highlight to the corresponding XAML statement in the XAML text editor (as seen for StackPanel below). What's this highlight called in Visual Studio's Fonts and Colors customization settings? I want to change it but it's hiding itself well.

enter image description here

like image 364
Drakestar Avatar asked Feb 06 '23 08:02

Drakestar


1 Answers

It should be Tools->Options->Fonts and Colors->Text Editor->Brace Matching (Rectangle).

So that's technically the correct answer to my question because it does indeed work when I click in the XAML editor. But unfortunately it's revealed a misunderstanding in my question. What I'm actually looking for is the color setting name for the highlight when I click on an element in the XAML designer, which then highlights the XAML statement as seen in the screenshot above.

Try Tools->Options->Fonts and Colors->Text Editor->Inactive Selected Text then.

like image 73
mm8 Avatar answered Mar 08 '23 23:03

mm8