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)
47text.SetValue(AccessText.TextProperty, new TemplateBindingExtension(ContentProperty)); 55text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentProperty));
System\Windows\Controls\ScrollViewer.cs (11)
2695grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 2712content.SetValue(ContentPresenter.MarginProperty, new TemplateBindingExtension(PaddingProperty)); 2713content.SetValue(ContentProperty, new TemplateBindingExtension(ContentProperty)); 2714content.SetValue(ContentTemplateProperty, new TemplateBindingExtension(ContentTemplateProperty)); 2715content.SetValue(CanContentScrollProperty, new TemplateBindingExtension(CanContentScrollProperty)); 2721hsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableWidthProperty)); 2722hsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportWidthProperty)); 2724hsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty)); 2731vsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableHeightProperty)); 2732vsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportHeightProperty)); 2734vsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
System\Windows\FrameworkElementFactory.cs (6)
1190SetValue(ContentPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1199SetValue(ContentPresenter.ContentTemplateProperty, new TemplateBindingExtension(dpContentTemplate)); 1201SetValue(ContentPresenter.ContentTemplateSelectorProperty, new TemplateBindingExtension(dpContentTemplateSelector)); 1203SetValue(ContentPresenter.ContentStringFormatProperty, new TemplateBindingExtension(dpContentStringFormat)); 1224SetValue(GridViewRowPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1232SetValue(GridViewRowPresenter.ColumnsProperty, new TemplateBindingExtension(GridView.ColumnCollectionProperty));
System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1719value = new TemplateBindingExtension((DependencyProperty)param);
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
10953DefaultConstructor = delegate () { return new System.Windows.TemplateBindingExtension(); }, 10960return new System.Windows.TemplateBindingExtension(
System\Windows\Markup\BamlRecordReader.cs (1)
1475instance = new TemplateBindingExtension(dp);
System\Windows\Markup\KnownTypes.cs (1)
1582case KnownElements.TemplateBindingExtension: o = new System.Windows.TemplateBindingExtension(); break;
System\Windows\TemplateContent.cs (6)
1254ValueInternal = new TemplateBindingExtension(dpContent), 1277ValueInternal = new TemplateBindingExtension(dpContentTemplate), 1295ValueInternal = new TemplateBindingExtension(dpContentTemplateSelector), 1313ValueInternal = new TemplateBindingExtension(dpContentStringFormat), 1355ValueInternal = new TemplateBindingExtension(dpContent), 1376ValueInternal = new TemplateBindingExtension(GridView.ColumnCollectionProperty),
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
62text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentPresenter.ContentProperty));
20 references to TemplateBindingExtension
PresentationFramework (20)
System\Windows\FrameworkElementFactory.cs (2)
241TemplateBindingExtension templateBinding = value as TemplateBindingExtension;
System\Windows\FrameworkTemplate.cs (2)
810TemplateBindingExtension templateBindingExtension = templateBindingExpr.TemplateBindingExtension; 1269value = new TemplateBindingExpression(value as TemplateBindingExtension);
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
728case 634: t = () => typeof(TemplateBindingExtension); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
10950typeof(System.Windows.TemplateBindingExtension),
System\Windows\Markup\KnownTypes.cs (1)
6182case KnownElements.TemplateBindingExtension: t = typeof(System.Windows.TemplateBindingExtension); break;
System\Windows\StyleHelper.cs (4)
626TemplateBindingExtension templateBinding = (TemplateBindingExtension)propertyValue.ValueInternal; 2750TemplateBindingExtension templateBinding = (TemplateBindingExtension)valueLookupList.List[i].Value;
System\Windows\TemplateBindingExpression.cs (3)
28private TemplateBindingExtension _templateBindingExtension; 30internal TemplateBindingExpression( TemplateBindingExtension templateBindingExtension ) 39public TemplateBindingExtension TemplateBindingExtension
System\Windows\TemplateBindingExtensionConverter.cs (3)
49TemplateBindingExtension templateBinding = value as TemplateBindingExtension; 54return new InstanceDescriptor(typeof(TemplateBindingExtension).GetConstructor(new Type[] { typeof(DependencyProperty) }),
System\Windows\TemplateContent.cs (3)
265if (value.ValueInternal is TemplateBindingExtension) // Use ValueInternal to avoid creating deferred resource references 1024&& typeofValue != typeof(TemplateBindingExtension) 1114value is TemplateBindingExtension ||