TemplateBindingExtension Class
Implements a markup extension that supports the binding between the value of a property in a template and the value of some other exposed property on the templated control. Using a TemplateBinding is equivalent to using a Binding with the Source property set to RelativeSource.TemplatedParent.
The method ProvideValue returns a TemplateBindingExpression.
Example:
<ControlTemplate Key="buttonTemplate" TargetType="{x:Type Button}">
<Border Background="{TemplateBinding Background}"/>
</ControlTemplate>
http://msdn.microsoft.com/en-us/library/system.windows.templatebindingextension.aspx
Methods
TemplateBindingExtension has no methods
Properties
From TemplateBindingExtension
Name | Description | |
---|---|---|
![]() |
Property | Gets or sets property |


Events
TemplateBindingExtension has no events