AndrewL
AndrewL

Reputation: 3326

Change background of Metro TextBox at normal state

I have a C#/XAML Metro-style application with a TextBox. By default, the TextBox displays with a gray background. When I hover over it with my mouse, the background lightens. When I put my focus into the TextBox, it has a white background.

I want to create a XAML style that will cause the TextBox to always have a white background, regardless of the position of my mouse or where my focus is in the application - how can I do this?

Thanks!

Andrew

Upvotes: 0

Views: 948

Answers (1)

Filip Skakun
Filip Skakun

Reputation: 31724

You need to edit the control template.

Upvotes: 2

Related Questions