18 types derived from Panel
PresentationFramework (10)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
19
internal class InkCanvasInnerCanvas :
Panel
System\Windows\Controls\Canvas.cs (1)
28
public class Canvas :
Panel
System\Windows\Controls\DockPanel.cs (1)
55
public class DockPanel :
Panel
System\Windows\Controls\Grid.cs (1)
30
public class Grid :
Panel
, IAddChild
System\Windows\Controls\Primitives\TabPanel.cs (1)
23
public class TabPanel :
Panel
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
12
public class ToolBarOverflowPanel :
Panel
System\Windows\Controls\Primitives\UniformGrid.cs (1)
22
public class UniformGrid :
Panel
System\Windows\Controls\Stack.cs (1)
49
public class StackPanel :
Panel
, IScrollInfo, IStackMeasure
System\Windows\Controls\VirtualizingPanel.cs (1)
15
public abstract class VirtualizingPanel :
Panel
System\Windows\Controls\WrapPanel.cs (1)
22
public class WrapPanel :
Panel
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
19
public class RibbonContextualTabGroupsPanel :
Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
26
public class RibbonGalleryCategoriesPanel :
Panel
, IProvideStarLayoutInfoBase, IContainsStarLayoutManager, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (1)
26
public class RibbonGalleryItemsPanel :
Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
20
public class RibbonGroupItemsPanel :
Panel
, IProvideStarLayoutInfo, IContainsStarLayoutManager
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (1)
15
public class RibbonQuickAccessToolBarOverflowPanel :
Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
19
public class RibbonTabHeadersPanel :
Panel
, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
24
public class RibbonTabsPanel :
Panel
, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
23
public class RibbonTitlePanel :
Panel
130 references to Panel
PresentationFramework (112)
MS\Internal\Data\ObjectRef.cs (2)
217
Panel
panel = fo.FrameworkParent.DO as
Panel
;
MS\Internal\Helper.cs (3)
1055
Panel
itemsHost,
1078
Panel
itemsHost)
1157
Panel
itemsHost,
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
68
Panel
itemHost = owner.ItemsHost;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
418
Panel
itemHost = row.CellsPresenter.ItemsHost;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
135
Panel
itemsHost = owner.ItemsHost;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
61
Panel
itemHost = owner.ItemsHost;
System\Windows\Controls\Border.cs (1)
182
Panel
.BackgroundProperty.AddOwner(typeof(Border),
System\Windows\Controls\Calendar.cs (1)
15
[TemplatePart(Name = Calendar.ElementRoot, Type = typeof(
Panel
))]
System\Windows\Controls\ComboBox.cs (1)
1927
Panel
itemsHost = ItemsHost;
System\Windows\Controls\Control.cs (2)
109
Panel
.BackgroundProperty.AddOwner(typeof(Control),
111
Panel
.BackgroundProperty.DefaultMetadata.DefaultValue,
System\Windows\Controls\DataGrid.cs (7)
1841
internal
Panel
InternalItemsHost
6374
Panel
itemsHost = InternalItemsHost;
6419
Panel
itemsHost = InternalItemsHost;
6509
private static bool CalculateCellDistance(FrameworkElement cell, DataGridRow rowOwner,
Panel
itemsHost, Rect itemsHostBounds, bool isMouseInCorner, out double distance)
6616
Panel
itemsHost = InternalItemsHost;
8027
Panel
itemsHost = dataGrid.InternalItemsHost;
8605
private
Panel
_internalItemsHost; // Workaround for not having access to ItemsHost
System\Windows\Controls\DataGridCell.cs (2)
1077
private
Panel
ParentPanel
1081
return VisualParent as
Panel
;
System\Windows\Controls\GroupItem.cs (3)
308
Panel
IHierarchicalVirtualizationAndScrollInfo.ItemsHost
395
internal
Panel
ItemsHost
459
private
Panel
_itemsHost;
System\Windows\Controls\InkCanvas.cs (2)
401
Panel
.BackgroundProperty.AddOwner(
2207
_innerCanvas.SetBinding(
Panel
.BackgroundProperty, background);
System\Windows\Controls\ItemContainerGenerator.cs (1)
165
ItemContainerGenerator IItemContainerGenerator.GetItemContainerGeneratorForPanel(
Panel
panel)
System\Windows\Controls\ItemsControl.cs (9)
777
Panel
panel = element as
Panel
;
815
Panel
panel = element as
Panel
;
1322
Panel
p = parent as
Panel
;
1818
internal
Panel
ItemsHost
2457
private FrameworkElement FindEndFocusableLeafContainer(
Panel
itemsHost, bool last)
3995
private
Panel
_itemsHost;
System\Windows\Controls\ItemsPanelTemplate.cs (3)
114
System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(
Panel
));
124
if (!typeof(
Panel
).IsAssignableFrom(root.Type))
127
root.SetValue(
Panel
.IsItemsHostProperty, true);
System\Windows\Controls\ItemsPresenter.cs (5)
44
Panel
panel = GetVisualChild(0) as
Panel
;
163
internal static ItemsPresenter FromPanel(
Panel
panel)
300
Panel
oldPanel = (this.VisualChildrenCount > 0) ? this.GetVisualChild(0) as
Panel
: null;
System\Windows\Controls\Menu.cs (2)
191
Panel
itemsHost = ItemsHost;
205
Panel
itemsHost = ItemsHost;
System\Windows\Controls\Page.cs (3)
311
Panel
.BackgroundProperty.AddOwner(
314
Panel
.BackgroundProperty.GetDefaultValue(typeof(
Panel
)),
System\Windows\Controls\Panel.cs (9)
135
typeof(
Panel
),
210
typeof(
Panel
),
230
Panel
panel = (
Panel
) d;
246
Panel
oldItemsHost = null;
561
internal static bool IsAboutToGenerateContent(
Panel
panel)
904
typeof(
Panel
),
948
Panel
panel = child.InternalVisualParent as
Panel
;
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
56
Panel
.BackgroundProperty.AddOwner(typeof(BulletDecorator),
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
567
internal
Panel
InternalItemsHost
637
private
Panel
_internalItemsHost;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1078
private
Panel
ParentPanel
1082
return VisualParent as
Panel
;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
419
internal
Panel
InternalItemsHost
1068
private
Panel
_internalItemsHost;
System\Windows\Controls\Primitives\IHierarchicalVirtualizationAndScrollInfo.cs (1)
38
Panel
ItemsHost { get; }
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
24
ItemContainerGenerator GetItemContainerGeneratorForPanel(
Panel
panel);
System\Windows\Controls\ToolBar.cs (2)
634
Panel
itemsHost = VisualTreeHelper.GetParent(currentFocusElement) as
Panel
;
System\Windows\Controls\ToolBarTray.cs (1)
71
Panel
.BackgroundProperty.AddOwner(typeof(ToolBarTray),
System\Windows\Controls\TreeViewItem.cs (1)
388
Panel
IHierarchicalVirtualizationAndScrollInfo.ItemsHost
System\Windows\Controls\UIElementCollection.cs (2)
521
Panel
p = _visualParent as
Panel
;
System\Windows\Controls\VirtualizingPanel.cs (3)
344
Panel
p = ic.ItemsHost;
366
private static void VirtualizationPropertyChangePropagationRecursive(DependencyObject parent,
Panel
itemsHost)
377
Panel
childItemsHost = virtualizingChild.ItemsHost;
System\Windows\Controls\VirtualizingStackPanel.cs (15)
1094
Panel
parentItemsHost = parent as
Panel
;
1121
Panel
itemsHost,
1135
Panel
itemsHost,
1253
Panel
innerPanel = null;
3106
Panel
parentPanel = (itemsOwner != null) ? VisualTreeHelper.GetParent(itemsOwner) as
Panel
: null;
4116
private static IContainItemStorage GetItemStorageProvider(
Panel
itemsHost)
4257
private static void ClearItemValueStorageRecursive(IContainItemStorage itemStorageProvider,
Panel
itemsHost)
4268
Panel
childItemsHost = virtualizingChild.ItemsHost;
6429
Panel
itemsHost = virtualizingChild?.ItemsHost;
6499
Panel
scrollingPanel = scrollingItemsControl?.ItemsHost;
6817
Panel
childItemsHost = virtualizingChild.ItemsHost;
11013
Panel
itemsHost = null;
11108
private DependencyObject FindDirectDescendentOfItemsHost(
Panel
itemsHost, DependencyObject child)
System\Windows\Documents\FixedPage.cs (1)
431
Panel
.BackgroundProperty.AddOwner(
System\Windows\Documents\TableColumn.cs (1)
242
Panel
.BackgroundProperty.AddOwner(
System\windows\Documents\TextSelection.cs (1)
1614
backgroundPropertyValue = textEditor.UiScope.GetValue(System.Windows.Controls.
Panel
.BackgroundProperty);
System\Windows\Input\KeyboardNavigation.cs (1)
2459
Panel
itemsHost = tvi.ItemsHost;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
530
case 437: t = () => typeof(
Panel
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (9)
3256
Type type = typeof(System.Windows.Controls.
Panel
);
3257
DependencyProperty dp = System.Windows.Controls.
Panel
.BackgroundProperty;
3259
this.GetXamlType(typeof(System.Windows.Controls.
Panel
)), // DeclaringType
5659
Type type = typeof(System.Windows.Controls.
Panel
);
5661
this.GetXamlType(typeof(System.Windows.Controls.
Panel
)), // DeclaringType
5668
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Panel
)target).Children; },
8791
Type type = typeof(System.Windows.Controls.
Panel
);
8792
DependencyProperty dp = System.Windows.Controls.
Panel
.IsItemsHostProperty;
8794
this.GetXamlType(typeof(System.Windows.Controls.
Panel
)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7997
typeof(System.Windows.Controls.
Panel
),
System\Windows\Markup\KnownTypes.cs (3)
1845
return System.Windows.Controls.
Panel
.BackgroundProperty;
2432
return (o as System.Windows.Controls.
Panel
).Children;
5984
case KnownElements.Panel: t = typeof(System.Windows.Controls.
Panel
); break;
System\Windows\TemplateContent.cs (1)
253
Property =
Panel
.IsItemsHostProperty
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
143
Panel
.BackgroundProperty.AddOwner(typeof(ClassicBorderDecorator),
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\ForceLowMemoryModePage.cs (1)
28
protected override void AddOptions(
Panel
panel)
OptionPages\InternalOptionsControl.cs (3)
110
protected virtual void AddOptions(
Panel
panel)
126
protected void AddOption(
Panel
panel, IOption2 option, string additional = null)
135
protected void AddPerLanguageOption(
Panel
panel, IOption2 option, string languageName, string additional = null)
System.Windows.Controls.Ribbon (12)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
882
Panel
headerItemsHost = _tabHeaderItemsControl.InternalItemsHost;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1189
Panel
galleryItemsHostSite = _firstGallery.ItemsHostSite;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
68
internal
Panel
InternalItemsHost
261
private
Panel
_itemsHost; // ItemsPanel instance for this ItemsControl
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
337
ItemsHostSite = (
Panel
)(ItemsPanel.FindName(RibbonGallery.ItemsHostPanelName, _itemsPresenter));
377
internal
Panel
ItemsHostSite
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
166
internal
Panel
ItemsHostSite
199
ItemsHostSite = (
Panel
)(ItemsPanel.FindName(RibbonGalleryCategory.ItemsHostPanelName, _itemsPresenter));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
523
Panel
parentPanel = VisualTreeHelper.GetParent(this) as
Panel
;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (2)
58
internal
Panel
InternalItemsHost
195
private
Panel
_itemsHost; // ItemsPanel instance for this ItemsControl
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
158
public SWC.
Panel
HostContainer