30 instantiations of TemplateBindingExtension
PresentationFramework (30)
src\Framework\System\Windows\Controls\ContentPresenter.cs (2)
58text.SetValue(AccessText.TextProperty, new TemplateBindingExtension(ContentProperty)); 66text.SetValue(TextBlock.TextProperty, new TemplateBindingExtension(ContentProperty));
src\Framework\System\Windows\Controls\ScrollViewer.cs (11)
2735grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 2752content.SetValue(ContentPresenter.MarginProperty, new TemplateBindingExtension(PaddingProperty)); 2753content.SetValue(ContentProperty, new TemplateBindingExtension(ContentProperty)); 2754content.SetValue(ContentTemplateProperty, new TemplateBindingExtension(ContentTemplateProperty)); 2755content.SetValue(CanContentScrollProperty, new TemplateBindingExtension(CanContentScrollProperty)); 2761hsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableWidthProperty)); 2762hsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportWidthProperty)); 2764hsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedHorizontalScrollBarVisibilityProperty)); 2771vsb.SetValue(RangeBase.MaximumProperty, new TemplateBindingExtension(ScrollableHeightProperty)); 2772vsb.SetValue(ScrollBar.ViewportSizeProperty, new TemplateBindingExtension(ViewportHeightProperty)); 2774vsb.SetValue(UIElement.VisibilityProperty, new TemplateBindingExtension(ComputedVerticalScrollBarVisibilityProperty));
src\Framework\System\Windows\FrameworkElementFactory.cs (6)
1224SetValue(ContentPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1233SetValue(ContentPresenter.ContentTemplateProperty, new TemplateBindingExtension(dpContentTemplate)); 1235SetValue(ContentPresenter.ContentTemplateSelectorProperty, new TemplateBindingExtension(dpContentTemplateSelector)); 1237SetValue(ContentPresenter.ContentStringFormatProperty, new TemplateBindingExtension(dpContentStringFormat)); 1258SetValue(GridViewRowPresenter.ContentProperty, new TemplateBindingExtension(dpContent)); 1266SetValue(GridViewRowPresenter.ColumnsProperty, new TemplateBindingExtension(GridView.ColumnCollectionProperty));
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (1)
1733value = new TemplateBindingExtension((DependencyProperty)param);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
9872bamlType.DefaultConstructor = delegate() { return new System.Windows.TemplateBindingExtension(); }; 9878return new System.Windows.TemplateBindingExtension(
src\Framework\System\Windows\Markup\BamlRecordReader.cs (1)
1515instance = new TemplateBindingExtension(dp);
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1589case KnownElements.TemplateBindingExtension: o = new System.Windows.TemplateBindingExtension(); break;
src\Framework\System\Windows\TemplateContent.cs (6)
1316pv.ValueInternal = new TemplateBindingExtension(dpContent); 1337pv.ValueInternal = new TemplateBindingExtension(dpContentTemplate); 1353pv.ValueInternal = new TemplateBindingExtension(dpContentTemplateSelector); 1369pv.ValueInternal = new TemplateBindingExtension(dpContentStringFormat); 1409propertyValue.ValueInternal = new TemplateBindingExtension(dpContent); 1428propertyValue.ValueInternal = new TemplateBindingExtension(GridView.ColumnCollectionProperty);
21 references to TemplateBindingExtension
PresentationFramework (20)
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
259TemplateBindingExtension templateBinding = value as TemplateBindingExtension;
src\Framework\System\Windows\FrameworkTemplate.cs (2)
822TemplateBindingExtension templateBindingExtension = templateBindingExpr.TemplateBindingExtension; 1298value = new TemplateBindingExpression(value as TemplateBindingExtension);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
726case 634: t = () => typeof(TemplateBindingExtension); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
9870typeof(System.Windows.TemplateBindingExtension),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
6178case KnownElements.TemplateBindingExtension: t = typeof(System.Windows.TemplateBindingExtension); break;
src\Framework\System\Windows\StyleHelper.cs (4)
638TemplateBindingExtension templateBinding = (TemplateBindingExtension)propertyValue.ValueInternal; 2754TemplateBindingExtension templateBinding = (TemplateBindingExtension)valueLookupList.List[i].Value;
src\Framework\System\Windows\TemplateBindingExpression.cs (3)
31private TemplateBindingExtension _templateBindingExtension; 33internal TemplateBindingExpression( TemplateBindingExtension templateBindingExtension ) 42public TemplateBindingExtension TemplateBindingExtension
src\Framework\System\Windows\TemplateBindingExtensionConverter.cs (3)
60TemplateBindingExtension templateBinding = value as TemplateBindingExtension; 65return new InstanceDescriptor(typeof(TemplateBindingExtension).GetConstructor(new Type[] { typeof(DependencyProperty) }),
src\Framework\System\Windows\TemplateContent.cs (3)
277if (value.ValueInternal is TemplateBindingExtension) // Use ValueInternal to avoid creating deferred resource references 1090&& typeofValue != typeof(TemplateBindingExtension) 1180value is TemplateBindingExtension ||
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\ExtensibilityAccessor.cs (1)
630else if (typeof(TemplateBindingExtension).IsAssignableFrom(valueType))