The Theme Designer allows you to customize a theme, create or edit templates and styles, and assign a theme's colors to elements. You can edit source files in the Theme Designer's CodeView or an external text editor.
Find an Element in XAML
Use the Search Bar in the Solution Explorer window to find an element in the source files.
Enable Inspect Element, hold Ctrl+Shift and left-click an element in the Preview Window. The Theme Designer highlights the element in the CodeView window.
Right-click an item in the Individual Colors window and select Navigate to XAML to navigate to the line where this element is declared.
Change a Palette Color in the CodeView Window
Follow the steps below to use the CodeView window to change an element's color: