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