18 types derived from Panel
PresentationFramework (10)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
23internal class InkCanvasInnerCanvas : Panel
System\Windows\Controls\Canvas.cs (1)
38public class Canvas : Panel
System\Windows\Controls\DockPanel.cs (1)
62public class DockPanel : Panel
System\Windows\Controls\Grid.cs (1)
42public class Grid : Panel, IAddChild
System\Windows\Controls\Primitives\TabPanel.cs (1)
32public class TabPanel : Panel
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
23public class ToolBarOverflowPanel : Panel
System\Windows\Controls\Primitives\UniformGrid.cs (1)
31public class UniformGrid : Panel
System\Windows\Controls\Stack.cs (1)
56public class StackPanel : Panel, IScrollInfo, IStackMeasure
System\Windows\Controls\VirtualizingPanel.cs (1)
22public abstract class VirtualizingPanel : Panel
System\Windows\Controls\WrapPanel.cs (1)
33public class WrapPanel : Panel
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
25public class RibbonContextualTabGroupsPanel : Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
32public class RibbonGalleryCategoriesPanel : Panel, IProvideStarLayoutInfoBase, IContainsStarLayoutManager, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (1)
32public class RibbonGalleryItemsPanel : Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
23public class RibbonGroupItemsPanel : Panel, IProvideStarLayoutInfo, IContainsStarLayoutManager
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (1)
20public class RibbonQuickAccessToolBarOverflowPanel : Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
23public class RibbonTabHeadersPanel : Panel, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
29public class RibbonTabsPanel : Panel, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
28public class RibbonTitlePanel : Panel
130 references to Panel
PresentationFramework (112)
MS\Internal\Data\ObjectRef.cs (2)
224Panel panel = fo.FrameworkParent.DO as Panel;
MS\Internal\Helper.cs (3)
1071Panel itemsHost, 1094Panel itemsHost) 1173Panel itemsHost,
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
71Panel itemHost = owner.ItemsHost;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
424Panel itemHost = row.CellsPresenter.ItemsHost;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
148Panel itemsHost = owner.ItemsHost;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
74Panel itemHost = owner.ItemsHost;
System\Windows\Controls\Border.cs (1)
187Panel.BackgroundProperty.AddOwner(typeof(Border),
System\Windows\Controls\Calendar.cs (1)
20[TemplatePart(Name = Calendar.ElementRoot, Type = typeof(Panel))]
System\Windows\Controls\ComboBox.cs (1)
1940Panel itemsHost = ItemsHost;
System\Windows\Controls\Control.cs (2)
119Panel.BackgroundProperty.AddOwner(typeof(Control), 121Panel.BackgroundProperty.DefaultMetadata.DefaultValue,
System\Windows\Controls\DataGrid.cs (7)
1852internal Panel InternalItemsHost 6419Panel itemsHost = InternalItemsHost; 6464Panel itemsHost = InternalItemsHost; 6554private static bool CalculateCellDistance(FrameworkElement cell, DataGridRow rowOwner, Panel itemsHost, Rect itemsHostBounds, bool isMouseInCorner, out double distance) 6661Panel itemsHost = InternalItemsHost; 8074Panel itemsHost = dataGrid.InternalItemsHost; 8652private Panel _internalItemsHost; // Workaround for not having access to ItemsHost
System\Windows\Controls\DataGridCell.cs (2)
1099private Panel ParentPanel 1103return VisualParent as Panel;
System\Windows\Controls\GroupItem.cs (3)
320Panel IHierarchicalVirtualizationAndScrollInfo.ItemsHost 407internal Panel ItemsHost 471private Panel _itemsHost;
System\Windows\Controls\InkCanvas.cs (2)
404Panel.BackgroundProperty.AddOwner( 2204_innerCanvas.SetBinding(Panel.BackgroundProperty, background);
System\Windows\Controls\ItemContainerGenerator.cs (1)
172ItemContainerGenerator IItemContainerGenerator.GetItemContainerGeneratorForPanel(Panel panel)
System\Windows\Controls\ItemsControl.cs (9)
793Panel panel = element as Panel; 831Panel panel = element as Panel; 1344Panel p = parent as Panel; 1858internal Panel ItemsHost 2497private FrameworkElement FindEndFocusableLeafContainer(Panel itemsHost, bool last) 4038private Panel _itemsHost;
System\Windows\Controls\ItemsPanelTemplate.cs (3)
120System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel)); 130if (!typeof(Panel).IsAssignableFrom(root.Type)) 133root.SetValue(Panel.IsItemsHostProperty, true);
System\Windows\Controls\ItemsPresenter.cs (5)
49Panel panel = GetVisualChild(0) as Panel; 168internal static ItemsPresenter FromPanel(Panel panel) 308Panel oldPanel = (this.VisualChildrenCount > 0) ? this.GetVisualChild(0) as Panel : null;
System\Windows\Controls\Menu.cs (2)
202Panel itemsHost = ItemsHost; 216Panel itemsHost = ItemsHost;
System\Windows\Controls\Page.cs (3)
330Panel.BackgroundProperty.AddOwner( 333Panel.BackgroundProperty.GetDefaultValue(typeof(Panel)),
System\Windows\Controls\Panel.cs (9)
143typeof(Panel), 218typeof(Panel), 238Panel panel = (Panel) d; 254Panel oldItemsHost = null; 569internal static bool IsAboutToGenerateContent(Panel panel) 912typeof(Panel), 956Panel panel = child.InternalVisualParent as Panel;
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
63Panel.BackgroundProperty.AddOwner(typeof(BulletDecorator),
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
574internal Panel InternalItemsHost 644private Panel _internalItemsHost;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1099private Panel ParentPanel 1103return VisualParent as Panel;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
431internal Panel InternalItemsHost 1079private Panel _internalItemsHost;
System\Windows\Controls\Primitives\IHierarchicalVirtualizationAndScrollInfo.cs (1)
42Panel ItemsHost { get; }
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
27ItemContainerGenerator GetItemContainerGeneratorForPanel(Panel panel);
System\Windows\Controls\ToolBar.cs (2)
650Panel itemsHost = VisualTreeHelper.GetParent(currentFocusElement) as Panel;
System\Windows\Controls\ToolBarTray.cs (1)
80Panel.BackgroundProperty.AddOwner(typeof(ToolBarTray),
System\Windows\Controls\TreeViewItem.cs (1)
399Panel IHierarchicalVirtualizationAndScrollInfo.ItemsHost
System\Windows\Controls\UIElementCollection.cs (2)
532Panel p = _visualParent as Panel;
System\Windows\Controls\VirtualizingPanel.cs (3)
351Panel p = ic.ItemsHost; 376private static void VirtualizationPropertyChangePropagationRecursive(DependencyObject parent, Panel itemsHost) 387Panel childItemsHost = virtualizingChild.ItemsHost;
System\Windows\Controls\VirtualizingStackPanel.cs (15)
1100Panel parentItemsHost = parent as Panel; 1127Panel itemsHost, 1141Panel itemsHost, 1259Panel innerPanel = null; 3123Panel parentPanel = (itemsOwner != null) ? VisualTreeHelper.GetParent(itemsOwner) as Panel : null; 4142private static IContainItemStorage GetItemStorageProvider(Panel itemsHost) 4283private static void ClearItemValueStorageRecursive(IContainItemStorage itemStorageProvider, Panel itemsHost) 4294Panel childItemsHost = virtualizingChild.ItemsHost; 6458Panel itemsHost = (virtualizingChild == null) ? null : virtualizingChild.ItemsHost; 6528Panel scrollingPanel = (scrollingItemsControl == null) ? null : scrollingItemsControl.ItemsHost; 6844Panel childItemsHost = virtualizingChild.ItemsHost; 11041Panel itemsHost = null; 11136private DependencyObject FindDirectDescendentOfItemsHost(Panel itemsHost, DependencyObject child)
System\Windows\Documents\FixedPage.cs (1)
438Panel.BackgroundProperty.AddOwner(
System\Windows\Documents\TableColumn.cs (1)
251Panel.BackgroundProperty.AddOwner(
System\windows\Documents\TextSelection.cs (1)
1633backgroundPropertyValue = textEditor.UiScope.GetValue(System.Windows.Controls.Panel.BackgroundProperty);
System\Windows\Input\KeyboardNavigation.cs (1)
2471Panel itemsHost = tvi.ItemsHost;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
533case 437: t = () => typeof(Panel); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (9)
3147Type type = typeof(System.Windows.Controls.Panel); 3148DependencyProperty dp = System.Windows.Controls.Panel.BackgroundProperty; 3150this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType 5312Type type = typeof(System.Windows.Controls.Panel); 5314this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType 5320bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Panel)target).Children; }; 8130Type type = typeof(System.Windows.Controls.Panel); 8131DependencyProperty dp = System.Windows.Controls.Panel.IsItemsHostProperty; 8133this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7270typeof(System.Windows.Controls.Panel),
System\Windows\Markup\KnownTypes.cs (3)
1852return System.Windows.Controls.Panel.BackgroundProperty; 2439return (o as System.Windows.Controls.Panel).Children; 5991case KnownElements.Panel: t = typeof(System.Windows.Controls.Panel); break;
System\Windows\TemplateContent.cs (1)
256pv.Property = Panel.IsItemsHostProperty;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
147Panel.BackgroundProperty.AddOwner(typeof(ClassicBorderDecorator),
Roslyn.VisualStudio.DiagnosticsWindow (4)
OptionPages\ForceLowMemoryModePage.cs (1)
29protected 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)
886Panel headerItemsHost = _tabHeaderItemsControl.InternalItemsHost;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1192Panel galleryItemsHostSite = _firstGallery.ItemsHostSite;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
71internal Panel InternalItemsHost 270private Panel _itemsHost; // ItemsPanel instance for this ItemsControl
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
340ItemsHostSite = (Panel)(ItemsPanel.FindName(RibbonGallery.ItemsHostPanelName, _itemsPresenter)); 378internal Panel ItemsHostSite
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
172internal Panel ItemsHostSite 205ItemsHostSite = (Panel)(ItemsPanel.FindName(RibbonGalleryCategory.ItemsHostPanelName, _itemsPresenter));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
526Panel parentPanel = VisualTreeHelper.GetParent(this) as Panel;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (2)
61internal Panel InternalItemsHost 201private Panel _itemsHost; // ItemsPanel instance for this ItemsControl
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
162public SWC.Panel HostContainer