31 references to TemplateBindingExtension
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
81
templateBorder.SetValue(Border.BackgroundProperty, new
TemplateBindingExtension
(BackgroundProperty));
82
templateBorder.SetValue(Border.BorderBrushProperty, new
TemplateBindingExtension
(BorderBrushProperty));
PresentationFramework (28)
System\Windows\Controls\ContentPresenter.cs (2)
47
text.SetValue(AccessText.TextProperty, new
TemplateBindingExtension
(ContentProperty));
55
text.SetValue(TextBlock.TextProperty, new
TemplateBindingExtension
(ContentProperty));
System\Windows\Controls\ScrollViewer.cs (11)
2689
grid.SetValue(Grid.BackgroundProperty, new
TemplateBindingExtension
(BackgroundProperty));
2706
content.SetValue(ContentPresenter.MarginProperty, new
TemplateBindingExtension
(PaddingProperty));
2707
content.SetValue(ContentProperty, new
TemplateBindingExtension
(ContentProperty));
2708
content.SetValue(ContentTemplateProperty, new
TemplateBindingExtension
(ContentTemplateProperty));
2709
content.SetValue(CanContentScrollProperty, new
TemplateBindingExtension
(CanContentScrollProperty));
2715
hsb.SetValue(RangeBase.MaximumProperty, new
TemplateBindingExtension
(ScrollableWidthProperty));
2716
hsb.SetValue(ScrollBar.ViewportSizeProperty, new
TemplateBindingExtension
(ViewportWidthProperty));
2718
hsb.SetValue(UIElement.VisibilityProperty, new
TemplateBindingExtension
(ComputedHorizontalScrollBarVisibilityProperty));
2725
vsb.SetValue(RangeBase.MaximumProperty, new
TemplateBindingExtension
(ScrollableHeightProperty));
2726
vsb.SetValue(ScrollBar.ViewportSizeProperty, new
TemplateBindingExtension
(ViewportHeightProperty));
2728
vsb.SetValue(UIElement.VisibilityProperty, new
TemplateBindingExtension
(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\FrameworkElementFactory.cs (6)
1190
SetValue(ContentPresenter.ContentProperty, new
TemplateBindingExtension
(dpContent));
1199
SetValue(ContentPresenter.ContentTemplateProperty, new
TemplateBindingExtension
(dpContentTemplate));
1201
SetValue(ContentPresenter.ContentTemplateSelectorProperty, new
TemplateBindingExtension
(dpContentTemplateSelector));
1203
SetValue(ContentPresenter.ContentStringFormatProperty, new
TemplateBindingExtension
(dpContentStringFormat));
1224
SetValue(GridViewRowPresenter.ContentProperty, new
TemplateBindingExtension
(dpContent));
1232
SetValue(GridViewRowPresenter.ColumnsProperty, new
TemplateBindingExtension
(GridView.ColumnCollectionProperty));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1720
value = new
TemplateBindingExtension
((DependencyProperty)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10960
return new System.Windows.
TemplateBindingExtension
(
System\Windows\Markup\BamlRecordReader.cs (1)
1472
instance = new
TemplateBindingExtension
(dp);
System\Windows\TemplateContent.cs (6)
1248
ValueInternal = new
TemplateBindingExtension
(dpContent),
1271
ValueInternal = new
TemplateBindingExtension
(dpContentTemplate),
1289
ValueInternal = new
TemplateBindingExtension
(dpContentTemplateSelector),
1307
ValueInternal = new
TemplateBindingExtension
(dpContentStringFormat),
1349
ValueInternal = new
TemplateBindingExtension
(dpContent),
1370
ValueInternal = new
TemplateBindingExtension
(GridView.ColumnCollectionProperty),
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
62
text.SetValue(TextBlock.TextProperty, new
TemplateBindingExtension
(ContentPresenter.ContentProperty));