The Code View window allows you to edit templates and styles, and bind palette colors to an element in the XAML.
You can open this window in one of the following ways:
Click the CodeView button in the Ribbon's View tab.
Click an element when the View in XAML tool enabled.
Double-click a file in the Solution Explorer window.
Right-click an item in the Individual Colors window and select the Navigate the XAML item.
The Code View window supports the following features: