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