31 references to TemplateBindingExtension
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\MarginGlyph\InheritanceMarginGlyph.cs (2)
81templateBorder.SetValue(Border.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 82templateBorder.SetValue(Border.BorderBrushProperty, new TemplateBindingExtension(BorderBrushProperty));
PresentationFramework (28)
System\Windows\Controls\ContentPresenter.cs (2)
47text.SetValue(AccessText.TextProperty, new TemplateBindingExtension(ContentProperty)); 55text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentProperty));
System\Windows\Controls\ScrollViewer.cs (11)
2687grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 2704content.SetValue(ContentPresenter.MarginProperty, new TemplateBindingExtension(PaddingProperty)); 2705content.SetValue(ContentProperty, new TemplateBindingExtension(ContentProperty)); 2706content.SetValue(ContentTemplateProperty, new TemplateBindingExtension(ContentTemplateProperty)); 2707content.SetValue(CanContentScrollProperty, new TemplateBindingExtension(CanContentScrollProperty)); 2713hsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableWidthProperty)); 2714hsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportWidthProperty)); 2716hsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty)); 2723vsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableHeightProperty)); 2724vsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportHeightProperty)); 2726vsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\FrameworkElementFactory.cs (6)
1192SetValue(ContentPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1201SetValue(ContentPresenter.ContentTemplateProperty, new TemplateBindingExtension(dpContentTemplate)); 1203SetValue(ContentPresenter.ContentTemplateSelectorProperty, new TemplateBindingExtension(dpContentTemplateSelector)); 1205SetValue(ContentPresenter.ContentStringFormatProperty, new TemplateBindingExtension(dpContentStringFormat)); 1226SetValue(GridViewRowPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1234SetValue(GridViewRowPresenter.ColumnsProperty, new TemplateBindingExtension(GridView.ColumnCollectionProperty));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1713value = new TemplateBindingExtension((DependencyProperty)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9880return new System.Windows.TemplateBindingExtension(
System\Windows\Markup\BamlRecordReader.cs (1)
1481instance = new TemplateBindingExtension(dp);
System\Windows\TemplateContent.cs (6)
1249pv.ValueInternal = new TemplateBindingExtension(dpContent); 1270pv.ValueInternal = new TemplateBindingExtension(dpContentTemplate); 1286pv.ValueInternal = new TemplateBindingExtension(dpContentTemplateSelector); 1302pv.ValueInternal = new TemplateBindingExtension(dpContentStringFormat); 1342propertyValue.ValueInternal = new TemplateBindingExtension(dpContent); 1361propertyValue.ValueInternal = new TemplateBindingExtension(GridView.ColumnCollectionProperty);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
62text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentPresenter.ContentProperty));