19 types derived from ContentControl
PresentationFramework (12)
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
25public class DataGridCell : ContentControl, IProvideDataGridColumn
src\Framework\System\Windows\Controls\Frame.cs (1)
109public class Frame : ContentControl, INavigator, INavigatorImpl, IJournalNavigationScopeHost, IDownloader, IJournalState, IAddChild, IUriContext
src\Framework\System\Windows\Controls\GroupItem.cs (1)
31public class GroupItem : ContentControl, IHierarchicalVirtualizationAndScrollInfo, IContainItemStorage
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (1)
31public class HeaderedContentControl : ContentControl
src\Framework\System\Windows\Controls\Label.cs (1)
37public class Label : ContentControl
src\Framework\System\Windows\Controls\ListBoxItem.cs (1)
32public class ListBoxItem : ContentControl
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
29public abstract class ButtonBase : ContentControl, ICommandSource
src\Framework\System\Windows\Controls\Primitives\StatusBarItem.cs (1)
19public class StatusBarItem : ContentControl
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
73public class ScrollViewer : ContentControl
src\Framework\System\Windows\Controls\ToolTip.cs (1)
33public class ToolTip : ContentControl
src\Framework\System\Windows\Controls\UserControl.cs (1)
22public class UserControl : ContentControl
src\Framework\System\Windows\Window.cs (1)
55public class Window : ContentControl, IWindowService
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\PropertyInspector\CategoryContainer.xaml.cs (1)
25internal partial class CategoryContainer : ContentControl
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
26class ExtensionWindow : ContentControl
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
27public sealed partial class TypePresenter : ContentControl, INotifyPropertyChanged
System.Activities.Presentation\System\Activities\Presentation\WorkflowElementDialog.cs (1)
14public class WorkflowElementDialog : ContentControl
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (1)
45public sealed class WorkflowItemPresenter : ContentControl, ICompositeView
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (1)
31public class WorkflowItemsPresenter : ContentControl, IMultipleDragEnabledCompositeView
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
33public class WorkflowViewElement : ContentControl, ICompositeViewEvents
5 instantiations of ContentControl
PresentationFramework (3)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (1)
961FrameworkElement titleCell = (this._dayTitleTemplate != null) ? (FrameworkElement)this._dayTitleTemplate.LoadContent() : new ContentControl();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2890bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.ContentControl(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1184case KnownElements.ContentControl: o = new System.Windows.Controls.ContentControl(); break;
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
384ContentControl header = new ContentControl(); 406ContentControl footer = new ContentControl();
100 references to ContentControl
PresentationFramework (89)
src\Framework\MS\Internal\AppModel\NavigationHelper.cs (1)
18internal static Visual FindRootViewer(ContentControl navigator, string contentPresenterName)
src\Framework\MS\Internal\Controls\ModelTreeEnumerator.cs (2)
150internal ContentModelTreeEnumerator(ContentControl contentControl, object content) : base(content) 165private ContentControl _owner;
src\Framework\MS\Internal\Data\ObjectRef.cs (3)
242ContentControl cc = LogicalTreeHelper.GetParent(fo.DO) as ContentControl; 495if (!(parent is ContentControl || parent is HeaderedItemsControl))
src\Framework\MS\Internal\Documents\Application\DocumentApplicationJournalEntry.cs (2)
78ContentControl navigator = (ContentControl)navigationService.INavigatorHost;
src\Framework\System\Windows\Controls\ComboBox.cs (2)
881ContentControl contentControl = item as ContentControl;
src\Framework\System\Windows\Controls\ContentControl.cs (16)
47DefaultStyleKeyProperty.OverrideMetadata(typeof(ContentControl), new FrameworkPropertyMetadata(typeof(ContentControl))); 48_dType = DependencyObjectType.FromSystemTypeInternal(typeof(ContentControl)); 234typeof(ContentControl), 254ContentControl ctrl = (ContentControl) d; 308typeof(ContentControl), 342typeof(ContentControl), 363ContentControl ctrl = (ContentControl)d; 387typeof(ContentControl), 412ContentControl ctrl = (ContentControl) d; 436typeof(ContentControl), 459ContentControl ctrl = (ContentControl)d;
src\Framework\System\Windows\Controls\ContentPresenter.cs (9)
162ContentControl.ContentProperty.AddOwner( 174get { return GetValue(ContentControl.ContentProperty); } 175set { SetValue(ContentControl.ContentProperty, value); } 260ContentControl.ContentTemplateProperty.AddOwner( 272get { return (DataTemplate) GetValue(ContentControl.ContentTemplateProperty); } 273set { SetValue(ContentControl.ContentTemplateProperty, value); } 307ContentControl.ContentTemplateSelectorProperty.AddOwner( 323get { return (DataTemplateSelector) GetValue(ContentControl.ContentTemplateSelectorProperty); } 324set { SetValue(ContentControl.ContentTemplateSelectorProperty, value); }
src\Framework\System\Windows\Controls\DocumentViewer.cs (3)
57[TemplatePart(Name = "PART_FindToolBarHost", Type = typeof(ContentControl))] 2199ContentControl findHost = this.Template.FindName(_findToolBarHostName, this) as ContentControl;
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
952parentAsGVCH.ClearValue(ContentControl.ContentProperty); 1401header.ClearValue(ContentControl.ContentProperty);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (7)
67ContentControl.ContentProperty.AddOwner( 338cp.ClearValue(ContentControl.ContentTemplateProperty); 351cp.ClearValue(ContentControl.ContentTemplateSelectorProperty); 620ContentControl parent; 621if ((parent = TemplatedParent as ContentControl) != null) 647ContentControl parent = TemplatedParent as ContentControl;
src\Framework\System\Windows\Controls\HeaderedContentControl.cs (5)
301return ContentControl.ContentObjectToString(Header); 400headerText = ContentControl.ContentObjectToString(Header); 401contentText = ContentControl.ContentObjectToString(Content); 409headerText = ContentControl.ContentObjectToString(Header); 410contentText = ContentControl.ContentObjectToString(Content);
src\Framework\System\Windows\Controls\HeaderedItemsControl.cs (3)
322return ContentControl.ContentObjectToString(Header); 342headerText = ContentControl.ContentObjectToString(Header); 353headerText = ContentControl.ContentObjectToString(Header);
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
1607ContentControl cc; 1616else if ((cc = element as ContentControl) != null) 1643ContentControl cc; 1652else if ((cc = element as ContentControl) != null)
src\Framework\System\Windows\Controls\Page.cs (1)
142ContentControl.ContentProperty.AddOwner(
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\DatePickerTextBox.cs (4)
20[TemplatePart(Name = DatePickerTextBox.ElementContentName, Type = typeof(ContentControl))] 30private ContentControl elementContent; 88elementContent = ExtractTemplatePart<ContentControl>(ElementContentName); 98elementContent.SetBinding(ContentControl.ContentProperty, watermarkBinding);
src\Framework\System\Windows\Controls\StickyNote.cs (1)
83[TemplatePart(Name = SNBConstants.c_ContentControlId, Type = typeof(ContentControl))]
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
2087if (targetDP == ContentControl.ContentProperty ||
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
192case 100: t = () => typeof(ContentControl); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
1932Type type = typeof(System.Windows.Controls.ContentControl); 1933DependencyProperty dp = System.Windows.Controls.ContentControl.ContentProperty; 1935this.GetXamlType(typeof(System.Windows.Controls.ContentControl)), // DeclaringType 1950Type type = typeof(System.Windows.Controls.ContentControl); 1951DependencyProperty dp = System.Windows.Controls.ContentControl.ContentTemplateProperty; 1953this.GetXamlType(typeof(System.Windows.Controls.ContentControl)), // DeclaringType 1966Type type = typeof(System.Windows.Controls.ContentControl); 1967DependencyProperty dp = System.Windows.Controls.ContentControl.ContentTemplateSelectorProperty; 1969this.GetXamlType(typeof(System.Windows.Controls.ContentControl)), // DeclaringType 1982Type type = typeof(System.Windows.Controls.ContentControl); 1983DependencyProperty dp = System.Windows.Controls.ContentControl.HasContentProperty; 1985this.GetXamlType(typeof(System.Windows.Controls.ContentControl)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2888typeof(System.Windows.Controls.ContentControl),
src\Framework\System\Windows\Markup\KnownTypes.cs (5)
1709return System.Windows.Controls.ContentControl.ContentProperty; 1711return System.Windows.Controls.ContentControl.ContentTemplateProperty; 1713return System.Windows.Controls.ContentControl.ContentTemplateSelectorProperty; 1715return System.Windows.Controls.ContentControl.HasContentProperty; 5644case KnownElements.ContentControl: t = typeof(System.Windows.Controls.ContentControl); break;
src\Framework\System\Windows\Navigation\NavigationService.cs (2)
4787ContentControl cc = dobj as ContentControl;
System.Activities.Presentation (11)
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (9)
751void OnDynamicContentColumnLoaded(DataGridCell cell, ContentControl contentContainer) 806var dynamicContent = VisualTreeUtils.GetNamedChild<ContentControl>(cell, DataGridHelper.dynamicContentControlName, 5); 892var container = (ContentControl)sender; 937FrameworkElementFactory contentControlFactory = new FrameworkElementFactory(typeof(ContentControl)); 938contentControlFactory.SetValue(ContentControl.NameProperty, DataGridHelper.dynamicContentControlName); 939contentControlFactory.SetBinding(ContentControl.ContentProperty, new Binding()); 940contentControlFactory.AddHandler(ContentControl.LoadedEvent, new RoutedEventHandler(DataGridHelper.OnDynamicCellContentLoaded));
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
384ContentControl header = new ContentControl(); 406ContentControl footer = new ContentControl();