29 references to TemplateBindingExtension
PresentationFramework (28)
System\Windows\Controls\ContentPresenter.cs (2)
56
text.SetValue(AccessText.TextProperty, new
TemplateBindingExtension
(ContentProperty));
64
text.SetValue(TextBlock.TextProperty, new
TemplateBindingExtension
(ContentProperty));
System\Windows\Controls\ScrollViewer.cs (11)
2695
grid.SetValue(Grid.BackgroundProperty, new
TemplateBindingExtension
(BackgroundProperty));
2712
content.SetValue(ContentPresenter.MarginProperty, new
TemplateBindingExtension
(PaddingProperty));
2713
content.SetValue(ContentProperty, new
TemplateBindingExtension
(ContentProperty));
2714
content.SetValue(ContentTemplateProperty, new
TemplateBindingExtension
(ContentTemplateProperty));
2715
content.SetValue(CanContentScrollProperty, new
TemplateBindingExtension
(CanContentScrollProperty));
2721
hsb.SetValue(RangeBase.MaximumProperty, new
TemplateBindingExtension
(ScrollableWidthProperty));
2722
hsb.SetValue(ScrollBar.ViewportSizeProperty, new
TemplateBindingExtension
(ViewportWidthProperty));
2724
hsb.SetValue(UIElement.VisibilityProperty, new
TemplateBindingExtension
(ComputedHorizontalScrollBarVisibilityProperty));
2731
vsb.SetValue(RangeBase.MaximumProperty, new
TemplateBindingExtension
(ScrollableHeightProperty));
2732
vsb.SetValue(ScrollBar.ViewportSizeProperty, new
TemplateBindingExtension
(ViewportHeightProperty));
2734
vsb.SetValue(UIElement.VisibilityProperty, new
TemplateBindingExtension
(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\FrameworkElementFactory.cs (6)
1200
SetValue(ContentPresenter.ContentProperty, new
TemplateBindingExtension
(dpContent));
1209
SetValue(ContentPresenter.ContentTemplateProperty, new
TemplateBindingExtension
(dpContentTemplate));
1211
SetValue(ContentPresenter.ContentTemplateSelectorProperty, new
TemplateBindingExtension
(dpContentTemplateSelector));
1213
SetValue(ContentPresenter.ContentStringFormatProperty, new
TemplateBindingExtension
(dpContentStringFormat));
1234
SetValue(GridViewRowPresenter.ContentProperty, new
TemplateBindingExtension
(dpContent));
1242
SetValue(GridViewRowPresenter.ColumnsProperty, new
TemplateBindingExtension
(GridView.ColumnCollectionProperty));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1717
value = new
TemplateBindingExtension
((DependencyProperty)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9882
return new System.Windows.
TemplateBindingExtension
(
System\Windows\Markup\BamlRecordReader.cs (1)
1490
instance = new
TemplateBindingExtension
(dp);
System\Windows\TemplateContent.cs (6)
1252
pv.ValueInternal = new
TemplateBindingExtension
(dpContent);
1273
pv.ValueInternal = new
TemplateBindingExtension
(dpContentTemplate);
1289
pv.ValueInternal = new
TemplateBindingExtension
(dpContentTemplateSelector);
1305
pv.ValueInternal = new
TemplateBindingExtension
(dpContentStringFormat);
1345
propertyValue.ValueInternal = new
TemplateBindingExtension
(dpContent);
1364
propertyValue.ValueInternal = new
TemplateBindingExtension
(GridView.ColumnCollectionProperty);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
64
text.SetValue(TextBlock.TextProperty, new
TemplateBindingExtension
(ContentPresenter.ContentProperty));