Question

I'm overriding several Silverlight styles so that the focused visual state color is configurable. I've managed to get most of it done, but I'm having an issue with the DatePicker control. The default style for the DatePicker itself can be found here on MSDN but the actualy control that gets focus is a customized textbox called a DatePickerTextBox. This is the style I need to override, but I can't find it anywhere. How would I go about getting the style for a control that isn't on MSDN? Everything I've found always says "go look on MSDN for it."

Was it helpful?

Solution

If you are using VS 2012 or VS 2013 in the Document Outline window while viewing your xaml you should be able to right click on the control in question and get the control template for that control..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top