=== Implicit and Explicit Styling ===
The following code snippet makes use of several features of XAML Styling:
[[File:Performance_ImplicitStyling.JPGjpg]]
* You can use very localized ResourceDictionaries to avoid repeatedly customizing similar controls. In this example, all Labels within the StackPanel inherit the defined style.
* The BasedOn attribute can be used to create a sub-style based on another existing style. However, the TargetType must always match.
<br><br>
[[Category:Pages with broken file links|XAML Best practices]]
[[Category:XAML|XAML Best practices]]
=== Content Templating ===