WPF TemplateBinding vs RelativeSource TemplatedParent
Quelle est la différence entre ces 2 fixations: <ControlTemplate TargetType="{x:Type Button}"> <Border BorderBrush="{TemplateBinding Property=Background}"> <ContentPresenter /> </Border> </ControlTemplate> et <ControlTemplate TargetType="{x:Type Button}">...