Jakie jest wiązanie szablonu z wiązaniem?
nie mogłem zrozumiećBorderThickness="{TemplateBinding BorderThickness}
. Oto kod:
<ControlTemplate TargetType="{x:Type wpftoolkit:DataGridCell}">
<Border Padding="{TemplateBinding Padding}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}"
SnapsToDevicePixels="True">
<ContentPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
</Border>
</ControlTemplate>
Proszę również wyjaśnić inne rodzaje oprawy.