Last active
April 5, 2018 08:38
-
-
Save SchreinerK/f230cafa4c312635234ecee130875911 to your computer and use it in GitHub Desktop.
Specify a designer datacontext for a style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Style> | |
<d:Style.DataContext> | |
<x:Type Type="local:MyTreeItem" /> | |
</d:Style.DataContext> | |
<!--usual setters, triggers, etc.--> | |
</Style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment