0
이 xaml 블록이 있고 MyBrush라는 속성이 포함 된 ViewModel을 만들었습니다. 해당 속성에 표 배경을 설정하고 싶지만이 블록이 작동하지 않습니다. 내가 어떻게 할 수 있는지 말해 줄 수 있니?스타일에서 바인딩 문제가
<Style x:Key="myKey" TargetType="myType">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="myType">
<Grid Background="{Binding RelativeSource={RelativeSource Self},
Path=MyBrush}">
...