33 instantiations of 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 (30)
System\Windows\Controls\ContentPresenter.cs (2)
46text.SetValue(AccessText.TextProperty, new TemplateBindingExtension(ContentProperty)); 54text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentProperty));
System\Windows\Controls\ScrollViewer.cs (11)
2683grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 2700content.SetValue(ContentPresenter.MarginProperty, new TemplateBindingExtension(PaddingProperty)); 2701content.SetValue(ContentProperty, new TemplateBindingExtension(ContentProperty)); 2702content.SetValue(ContentTemplateProperty, new TemplateBindingExtension(ContentTemplateProperty)); 2703content.SetValue(CanContentScrollProperty, new TemplateBindingExtension(CanContentScrollProperty)); 2709hsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableWidthProperty)); 2710hsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportWidthProperty)); 2712hsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty)); 2719vsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableHeightProperty)); 2720vsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportHeightProperty)); 2722vsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\FrameworkElementFactory.cs (6)
1189SetValue(ContentPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1198SetValue(ContentPresenter.ContentTemplateProperty, new TemplateBindingExtension(dpContentTemplate)); 1200SetValue(ContentPresenter.ContentTemplateSelectorProperty, new TemplateBindingExtension(dpContentTemplateSelector)); 1202SetValue(ContentPresenter.ContentStringFormatProperty, new TemplateBindingExtension(dpContentStringFormat)); 1223SetValue(GridViewRowPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1231SetValue(GridViewRowPresenter.ColumnsProperty, new TemplateBindingExtension(GridView.ColumnCollectionProperty));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1716value = new TemplateBindingExtension((DependencyProperty)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
10952DefaultConstructor = delegate () { return new System.Windows.TemplateBindingExtension(); }, 10959return new System.Windows.TemplateBindingExtension(
System\Windows\Markup\BamlRecordReader.cs (1)
1471instance = new TemplateBindingExtension(dp);
System\Windows\Markup\KnownTypes.cs (1)
1581case KnownElements.TemplateBindingExtension: o = new System.Windows.TemplateBindingExtension(); break;
System\Windows\TemplateContent.cs (6)
1245ValueInternal = new TemplateBindingExtension(dpContent), 1268ValueInternal = new TemplateBindingExtension(dpContentTemplate), 1286ValueInternal = new TemplateBindingExtension(dpContentTemplateSelector), 1304ValueInternal = new TemplateBindingExtension(dpContentStringFormat), 1346ValueInternal = new TemplateBindingExtension(dpContent), 1367ValueInternal = new TemplateBindingExtension(GridView.ColumnCollectionProperty),
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
61text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentPresenter.ContentProperty));
20 references to TemplateBindingExtension
PresentationFramework (20)
System\Windows\FrameworkElementFactory.cs (2)
240TemplateBindingExtension templateBinding = value as TemplateBindingExtension;
System\Windows\FrameworkTemplate.cs (2)
802TemplateBindingExtension templateBindingExtension = templateBindingExpr.TemplateBindingExtension; 1255value = new TemplateBindingExpression(value as TemplateBindingExtension);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
727case 634: t = () => typeof(TemplateBindingExtension); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10949typeof(System.Windows.TemplateBindingExtension),
System\Windows\Markup\KnownTypes.cs (1)
6181case KnownElements.TemplateBindingExtension: t = typeof(System.Windows.TemplateBindingExtension); break;
System\Windows\StyleHelper.cs (4)
618TemplateBindingExtension templateBinding = (TemplateBindingExtension)propertyValue.ValueInternal; 2740TemplateBindingExtension templateBinding = (TemplateBindingExtension)valueLookupList.List[i].Value;
System\Windows\TemplateBindingExpression.cs (3)
27private TemplateBindingExtension _templateBindingExtension; 29internal TemplateBindingExpression( TemplateBindingExtension templateBindingExtension ) 38public TemplateBindingExtension TemplateBindingExtension
System\Windows\TemplateBindingExtensionConverter.cs (3)
48TemplateBindingExtension templateBinding = value as TemplateBindingExtension; 53return new InstanceDescriptor(typeof(TemplateBindingExtension).GetConstructor(new Type[] { typeof(DependencyProperty) }),
System\Windows\TemplateContent.cs (3)
264if (value.ValueInternal is TemplateBindingExtension) // Use ValueInternal to avoid creating deferred resource references 1015&& typeofValue != typeof(TemplateBindingExtension) 1105value is TemplateBindingExtension ||