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