How do I define a style for WebView
-
Friday, June 15, 2012 8:09 AM
Hi All:
I want to write some words with different font styles in a control. I have tried WebView and changed its default style, But I can not find the "Template" property from the "setter" property of WebView. How do I define the style of WebView in XAML?(Metro Style App)
Thanks!
Hilda
- Moved by Rob CaplanMicrosoft Employee, Moderator Tuesday, June 19, 2012 5:39 PM (From:UI Design for Metro style apps)
All Replies
-
Friday, June 15, 2012 5:34 PM
Only a Control can have template. For a element not derived from Control, you can only edit its style. You can specify the properties like width and height in style with setter, but not template because it has no a property called "Template".- Proposed As Answer by Xianghan WangMicrosoft Employee Tuesday, June 19, 2012 5:10 PM
- Marked As Answer by Rob CaplanMicrosoft Employee, Moderator Tuesday, June 19, 2012 5:39 PM


