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