28 references to TemplateBindingExtension
PresentationFramework (28)
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
58
text.SetValue(AccessText.TextProperty, new
TemplateBindingExtension
(ContentProperty));
66
text.SetValue(TextBlock.TextProperty, new
TemplateBindingExtension
(ContentProperty));
src\Framework\System\Windows\Controls\ScrollViewer.cs (11)
2735
grid.SetValue(Grid.BackgroundProperty, new
TemplateBindingExtension
(BackgroundProperty));
2752
content.SetValue(ContentPresenter.MarginProperty, new
TemplateBindingExtension
(PaddingProperty));
2753
content.SetValue(ContentProperty, new
TemplateBindingExtension
(ContentProperty));
2754
content.SetValue(ContentTemplateProperty, new
TemplateBindingExtension
(ContentTemplateProperty));
2755
content.SetValue(CanContentScrollProperty, new
TemplateBindingExtension
(CanContentScrollProperty));
2761
hsb.SetValue(RangeBase.MaximumProperty, new
TemplateBindingExtension
(ScrollableWidthProperty));
2762
hsb.SetValue(ScrollBar.ViewportSizeProperty, new
TemplateBindingExtension
(ViewportWidthProperty));
2764
hsb.SetValue(UIElement.VisibilityProperty, new
TemplateBindingExtension
(ComputedHorizontalScrollBarVisibilityProperty));
2771
vsb.SetValue(RangeBase.MaximumProperty, new
TemplateBindingExtension
(ScrollableHeightProperty));
2772
vsb.SetValue(ScrollBar.ViewportSizeProperty, new
TemplateBindingExtension
(ViewportHeightProperty));
2774
vsb.SetValue(UIElement.VisibilityProperty, new
TemplateBindingExtension
(ComputedVerticalScrollBarVisibilityProperty));
src\Framework\System\Windows\FrameworkElementFactory.cs (6)
1224
SetValue(ContentPresenter.ContentProperty, new
TemplateBindingExtension
(dpContent));
1233
SetValue(ContentPresenter.ContentTemplateProperty, new
TemplateBindingExtension
(dpContentTemplate));
1235
SetValue(ContentPresenter.ContentTemplateSelectorProperty, new
TemplateBindingExtension
(dpContentTemplateSelector));
1237
SetValue(ContentPresenter.ContentStringFormatProperty, new
TemplateBindingExtension
(dpContentStringFormat));
1258
SetValue(GridViewRowPresenter.ContentProperty, new
TemplateBindingExtension
(dpContent));
1266
SetValue(GridViewRowPresenter.ColumnsProperty, new
TemplateBindingExtension
(GridView.ColumnCollectionProperty));
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1733
value = new
TemplateBindingExtension
((DependencyProperty)param);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9878
return new System.Windows.
TemplateBindingExtension
(
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
1515
instance = new
TemplateBindingExtension
(dp);
src\Framework\System\Windows\TemplateContent.cs (6)
1316
pv.ValueInternal = new
TemplateBindingExtension
(dpContent);
1337
pv.ValueInternal = new
TemplateBindingExtension
(dpContentTemplate);
1353
pv.ValueInternal = new
TemplateBindingExtension
(dpContentTemplateSelector);
1369
pv.ValueInternal = new
TemplateBindingExtension
(dpContentStringFormat);
1409
propertyValue.ValueInternal = new
TemplateBindingExtension
(dpContent);
1428
propertyValue.ValueInternal = new
TemplateBindingExtension
(GridView.ColumnCollectionProperty);