Hi,
In checkbox control template ComponentResourceKey is given as
ComponentResourceKey TypeInTargetAssembly={x:Type editors:PartEditBox}, ResourceId=OfficeCheckBoxOuterBorderPressedBrush}
Please refer this code:
<Setter TargetName="OuterBorder" Property="BorderBrush" Value="{DynamicResource {ComponentResourceKey TypeInTargetAssembly={x:Type editors:PartEditBox},ResourceId=OfficeCheckBoxOuterBorderPressedBrush}}" />
When I added checkbox template in my style, ComponentResourceKey doesn't get resolved.
It seems reference to TypeInTargetAssembly={x:Type editors:PartEditBox},ResourceId=OfficeCheckBoxOuterBorderPressedBrush
is not getting in style.
Can you let us know how we can give reference of TypeInTargetAssembly={x:Type editors:PartEditBox},ResourceId=OfficeCheckBoxOuterBorderPressedBrush in our style.
OR
What assembly we reference we need to add to resolve reference "TypeInTargetAssembly={x:Type editors:PartEditBox},ResourceId=OfficeCheckBoxOuterBorderPressedBrush"