60 references to ContentProperty
PresentationFramework (58)
src\Framework\System\Windows\Controls\ContentControl.cs (4)
135
if (ContentIsItem || !HasNonDefaultValue(
ContentProperty
))
175
return ReadLocalValue(
ContentProperty
) != DependencyProperty.UnsetValue;
245
get { return GetValue(
ContentProperty
); }
246
set { SetValue(
ContentProperty
, value); }
src\Framework\System\Windows\Controls\ContentPresenter.cs (3)
162
ContentControl.
ContentProperty
.AddOwner(
174
get { return GetValue(ContentControl.
ContentProperty
); }
175
set { SetValue(ContentControl.
ContentProperty
, value); }
src\Framework\System\Windows\Controls\Frame.cs (2)
131
ContentProperty
.OverrideMetadata(
590
SetCurrentValueInternal(
ContentProperty
, e.Content);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
952
parentAsGVCH.ClearValue(ContentControl.
ContentProperty
);
1401
header.ClearValue(ContentControl.
ContentProperty
);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
67
ContentControl.
ContentProperty
.AddOwner(
src\Framework\System\Windows\Controls\GroupItem.cs (1)
207
if (ContentIsItem || !HasNonDefaultValue(
ContentProperty
))
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (1)
337
if (ContentIsItem || !HasNonDefaultValue(
ContentProperty
))
src\Framework\System\Windows\Controls\Page.cs (1)
142
ContentControl.
ContentProperty
.AddOwner(
src\Framework\System\Windows\Controls\PopupControlService.cs (3)
508
_currentToolTip.SetBinding(ToolTip.
ContentProperty
, binding);
605
BindingOperations.ClearBinding(_currentToolTip, ToolTip.
ContentProperty
);
635
BindingOperations.ClearBinding(toolTip, ToolTip.
ContentProperty
);
src\Framework\System\Windows\Controls\Primitives\CalendarButton.cs (1)
165
SetCurrentValueInternal(ContentControl.
ContentProperty
, value);
src\Framework\System\Windows\Controls\Primitives\CalendarDayButton.cs (1)
258
SetCurrentValueInternal(ContentControl.
ContentProperty
, value);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (5)
35
ContentProperty
.OverrideMetadata(typeof(DataGridColumnHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent));
114
DataGridHelper.TransferProperty(this,
ContentProperty
);
415
else if (e.Property == DataGridColumn.HeaderProperty || e.Property ==
ContentProperty
)
417
DataGridHelper.TransferProperty(this,
ContentProperty
);
615
ContentProperty
,
src\Framework\System\Windows\Controls\Primitives\DataGridRowHeader.cs (5)
126
ContentProperty
.OverrideMetadata(typeof(DataGridRowHeader), new FrameworkPropertyMetadata(OnNotifyPropertyChanged, OnCoerceContent));
237
DataGridHelper.TransferProperty(this,
ContentProperty
);
265
if (e.Property == DataGridRow.HeaderProperty || e.Property ==
ContentProperty
)
267
DataGridHelper.TransferProperty(this,
ContentProperty
);
330
ContentProperty
,
src\Framework\System\Windows\Controls\Primitives\DatePickerTextBox.cs (1)
98
elementContent.SetBinding(ContentControl.
ContentProperty
, watermarkBinding);
src\Framework\System\Windows\Controls\ScrollViewer.cs (2)
2753
content.SetValue(
ContentProperty
, new TemplateBindingExtension(
ContentProperty
));
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
2087
if (targetDP == ContentControl.
ContentProperty
||
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (22)
1933
DependencyProperty dp = System.Windows.Controls.ContentControl.
ContentProperty
;
4155
DependencyProperty dp = System.Windows.Controls.Button.
ContentProperty
;
4173
DependencyProperty dp = System.Windows.Controls.Primitives.ButtonBase.
ContentProperty
;
4242
DependencyProperty dp = System.Windows.Controls.CheckBox.
ContentProperty
;
4294
DependencyProperty dp = System.Windows.Controls.ComboBoxItem.
ContentProperty
;
4481
DependencyProperty dp = System.Windows.Controls.Expander.
ContentProperty
;
4668
DependencyProperty dp = System.Windows.Controls.GridViewColumnHeader.
ContentProperty
;
4686
DependencyProperty dp = System.Windows.Controls.GroupBox.
ContentProperty
;
4704
DependencyProperty dp = System.Windows.Controls.GroupItem.
ContentProperty
;
4722
DependencyProperty dp = System.Windows.Controls.HeaderedContentControl.
ContentProperty
;
4962
DependencyProperty dp = System.Windows.Controls.Label.
ContentProperty
;
5030
DependencyProperty dp = System.Windows.Controls.ListBoxItem.
ContentProperty
;
5082
DependencyProperty dp = System.Windows.Controls.ListViewItem.
ContentProperty
;
5422
DependencyProperty dp = System.Windows.Controls.RadioButton.
ContentProperty
;
5457
DependencyProperty dp = System.Windows.Controls.Primitives.RepeatButton.
ContentProperty
;
5526
DependencyProperty dp = System.Windows.Controls.ScrollViewer.
ContentProperty
;
5663
DependencyProperty dp = System.Windows.Controls.Primitives.StatusBarItem.
ContentProperty
;
5748
DependencyProperty dp = System.Windows.Controls.TabItem.
ContentProperty
;
5885
DependencyProperty dp = System.Windows.Controls.Primitives.ToggleButton.
ContentProperty
;
5971
DependencyProperty dp = System.Windows.Controls.ToolTip.
ContentProperty
;
6074
DependencyProperty dp = System.Windows.Controls.UserControl.
ContentProperty
;
6194
DependencyProperty dp = System.Windows.Window.
ContentProperty
;
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1709
return System.Windows.Controls.ContentControl.
ContentProperty
;
src\Framework\System\Windows\Navigation\NavigationWindow.cs (1)
175
ContentProperty
.OverrideMetadata(
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (1)
949
toolTip.SetBinding(UserControl.
ContentProperty
, binding);
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
939
contentControlFactory.SetBinding(ContentControl.
ContentProperty
, new Binding());