Tips for Creating Custom Styles and Templates
In This Topic
The following list includes tips for creating custom styles and templates:
- Keep the visual tree as simple as possible
- Setting IsHittestVisible="false" on some elements might improve performance
- Make sure that you don't do that on elements which have CoverElementsPane.Orientaion property set
- Use C1BrushBuilder as high in the visual tree as you can. The more C1BrushBuilders you use, the worse performance you have.