70 references to ContentProperty
PresentationFramework (57)
System\Windows\Controls\ContentControl.cs (4)
130
if (ContentIsItem || !HasNonDefaultValue(
ContentProperty
))
170
return ReadLocalValue(
ContentProperty
) != DependencyProperty.UnsetValue;
240
get { return GetValue(
ContentProperty
); }
241
set { SetValue(
ContentProperty
, value); }
System\Windows\Controls\ContentPresenter.cs (3)
153
ContentControl.
ContentProperty
.AddOwner(
165
get { return GetValue(ContentControl.
ContentProperty
); }
166
set { SetValue(ContentControl.
ContentProperty
, value); }
System\Windows\Controls\Frame.cs (2)
112
ContentProperty
.OverrideMetadata(
556
SetCurrentValueInternal(
ContentProperty
, e.Content);
System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
947
parentAsGVCH.ClearValue(ContentControl.
ContentProperty
);
1403
header.ClearValue(ContentControl.
ContentProperty
);
System\Windows\Controls\GridViewRowPresenter.cs (1)
61
ContentControl.
ContentProperty
.AddOwner(
System\Windows\Controls\GroupItem.cs (1)
197
if (ContentIsItem || !HasNonDefaultValue(
ContentProperty
))
System\Windows\Controls\HeaderedContentControl.cs (1)
331
if (ContentIsItem || !HasNonDefaultValue(
ContentProperty
))
System\Windows\Controls\Page.cs (1)
122
ContentControl.
ContentProperty
.AddOwner(
System\Windows\Controls\PopupControlService.cs (2)
454
_currentToolTip.SetBinding(ToolTip.
ContentProperty
, binding);
650
BindingOperations.ClearBinding(tooltip, ToolTip.
ContentProperty
);
System\Windows\Controls\Primitives\CalendarButton.cs (1)
161
SetCurrentValueInternal(ContentControl.
ContentProperty
, value);
System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
255
SetCurrentValueInternal(ContentControl.
ContentProperty
, value);
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
29
ContentProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent));
108
DataGridHelper.TransferProperty(this,
ContentProperty
);
409
else if (e.Property == DataGridColumn.HeaderProperty || e.Property ==
ContentProperty
)
411
DataGridHelper.TransferProperty(this,
ContentProperty
);
609
ContentProperty
,
System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
120
ContentProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent));
231
DataGridHelper.TransferProperty(this,
ContentProperty
);
259
if (e.Property == DataGridRow.HeaderProperty || e.Property ==
ContentProperty
)
261
DataGridHelper.TransferProperty(this,
ContentProperty
);
324
ContentProperty
,
System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
95
elementContent.SetBinding(ContentControl.
ContentProperty
, watermarkBinding);
System\Windows\Controls\ScrollViewer.cs (2)
2713
content.SetValue(
ContentProperty
, new TemplateBindingExtension(
ContentProperty
));
System\Windows\Data\BindingExpressionBase.cs (1)
2088
if (targetDP == ContentControl.
ContentProperty
||
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (22)
1959
DependencyProperty dp = System.Windows.Controls.ContentControl.
ContentProperty
;
4402
DependencyProperty dp = System.Windows.Controls.Button.
ContentProperty
;
4422
DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.
ContentProperty
;
4499
DependencyProperty dp = System.Windows.Controls.CheckBox.
ContentProperty
;
4557
DependencyProperty dp = System.Windows.Controls.ComboBoxItem.
ContentProperty
;
4764
DependencyProperty dp = System.Windows.Controls.Expander.
ContentProperty
;
4971
DependencyProperty dp = System.Windows.Controls.GridViewColumnHeader.
ContentProperty
;
4991
DependencyProperty dp = System.Windows.Controls.GroupBox.
ContentProperty
;
5011
DependencyProperty dp = System.Windows.Controls.GroupItem.
ContentProperty
;
5031
DependencyProperty dp = System.Windows.Controls.HeaderedContentControl.
ContentProperty
;
5299
DependencyProperty dp = System.Windows.Controls.Label.
ContentProperty
;
5373
DependencyProperty dp = System.Windows.Controls.ListBoxItem.
ContentProperty
;
5431
DependencyProperty dp = System.Windows.Controls.ListViewItem.
ContentProperty
;
5807
DependencyProperty dp = System.Windows.Controls.RadioButton.
ContentProperty
;
5846
DependencyProperty dp = System.Windows.Controls.Primitives.RepeatButton.
ContentProperty
;
5942
DependencyProperty dp = System.Windows.Controls.ScrollViewer.
ContentProperty
;
6095
DependencyProperty dp = System.Windows.Controls.Primitives.StatusBarItem.
ContentProperty
;
6188
DependencyProperty dp = System.Windows.Controls.TabItem.
ContentProperty
;
6341
DependencyProperty dp = System.Windows.Controls.Primitives.ToggleButton.
ContentProperty
;
6437
DependencyProperty dp = System.Windows.Controls.ToolTip.
ContentProperty
;
6552
DependencyProperty dp = System.Windows.Controls.UserControl.
ContentProperty
;
6686
DependencyProperty dp = System.Windows.Window.
ContentProperty
;
System\Windows\Markup\KnownTypes.cs (1)
1702
return System.Windows.Controls.ContentControl.
ContentProperty
;
System\Windows\Navigation\NavigationWindow.cs (1)
146
ContentProperty
.OverrideMetadata(
System.Windows.Controls.Ribbon (13)
Microsoft\Windows\Controls\Ribbon\RibbonFilterMenuButton.cs (1)
80
filterToggleButton.SetBinding(RibbonToggleButton.
ContentProperty
, currentFilterBinding);
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (1)
1502
dummyElement.SetBinding(ContentControl.
ContentProperty
, itemBinding);
Microsoft\Windows\Controls\Ribbon\RibbonGalleryItem.cs (5)
42
ContentProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(null, new PropertyChangedCallback(OnContentChanged), new CoerceValueCallback(CoerceContent)));
756
KeyTipAndContentSyncHelper.Sync(this,
ContentProperty
);
761
KeyTipAndContentSyncHelper.OnKeyTipChanged((ISyncKeyTipAndContent)d,
ContentProperty
);
766
return KeyTipAndContentSyncHelper.CoerceKeyTip((ISyncKeyTipAndContent)d, baseValue,
ContentProperty
);
771
KeyTipAndContentSyncHelper.OnContentPropertyChanged((ISyncKeyTipAndContent)d,
ContentProperty
);
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1672
new PropertyAndTransferMode () { Property = ContentControl.
ContentProperty
, Mode = TransferMode.AlwaysTransfer },
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (5)
41
ContentProperty
.OverrideMetadata(ownerType, new FrameworkPropertyMetadata(OnNotifyPropertyChanged, CoerceContent));
414
PropertyHelper.TransferProperty(this,
ContentProperty
);
423
else if (e.Property ==
ContentProperty
|| e.Property == RibbonTab.HeaderProperty)
425
PropertyHelper.TransferProperty(this,
ContentProperty
);
565
ContentProperty
,