DataContext as Source for Converter Binding Within Resources
- by loafofbread
<Style TargetType="{x:Type local:SomeControl}">
<Canvas.DataContext>
<ViewModels:VMSomeControl Model="{Binding RelativeSource={RelativeSource TemplatedParent}}" />
</Canvas.DataContext>
<Canvas.Resources>
<!-- is there a way to use a binding that points to the datacontext within the…