18 types derived from Panel
PresentationFramework (10)
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
20internal class InkCanvasInnerCanvas : Panel
System\Windows\Controls\Canvas.cs (1)
29public class Canvas : Panel
System\Windows\Controls\DockPanel.cs (1)
56public class DockPanel : Panel
System\Windows\Controls\Grid.cs (1)
33public class Grid : Panel, IAddChild
System\Windows\Controls\Primitives\TabPanel.cs (1)
24public class TabPanel : Panel
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
13public class ToolBarOverflowPanel : Panel
System\Windows\Controls\Primitives\UniformGrid.cs (1)
23public class UniformGrid : Panel
System\Windows\Controls\Stack.cs (1)
50public class StackPanel : Panel, IScrollInfo, IStackMeasure
System\Windows\Controls\VirtualizingPanel.cs (1)
16public abstract class VirtualizingPanel : Panel
System\Windows\Controls\WrapPanel.cs (1)
23public class WrapPanel : Panel
System.Windows.Controls.Ribbon (8)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonContextualTabGroupsPanel.cs (1)
20public class RibbonContextualTabGroupsPanel : Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
27public class RibbonGalleryCategoriesPanel : Panel, IProvideStarLayoutInfoBase, IContainsStarLayoutManager, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryItemsPanel.cs (1)
27public class RibbonGalleryItemsPanel : Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupItemsPanel.cs (1)
21public class RibbonGroupItemsPanel : Panel, IProvideStarLayoutInfo, IContainsStarLayoutManager
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (1)
16public class RibbonQuickAccessToolBarOverflowPanel : Panel
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
20public class RibbonTabHeadersPanel : Panel, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
25public class RibbonTabsPanel : Panel, IScrollInfo
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
24public class RibbonTitlePanel : Panel
130 references to Panel
PresentationFramework (112)
MS\Internal\Data\ObjectRef.cs (2)
218Panel panel = fo.FrameworkParent.DO as Panel;
MS\Internal\Helper.cs (3)
1062Panel itemsHost, 1085Panel itemsHost) 1164Panel itemsHost,
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
69Panel itemHost = owner.ItemsHost;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
419Panel itemHost = row.CellsPresenter.ItemsHost;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
136Panel itemsHost = owner.ItemsHost;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
62Panel itemHost = owner.ItemsHost;
System\Windows\Controls\Border.cs (1)
183Panel.BackgroundProperty.AddOwner(typeof(Border),
System\Windows\Controls\Calendar.cs (1)
16[TemplatePart(Name = Calendar.ElementRoot, Type = typeof(Panel))]
System\Windows\Controls\ComboBox.cs (1)
1930Panel itemsHost = ItemsHost;
System\Windows\Controls\Control.cs (2)
110Panel.BackgroundProperty.AddOwner(typeof(Control), 112Panel.BackgroundProperty.DefaultMetadata.DefaultValue,
System\Windows\Controls\DataGrid.cs (7)
1849internal Panel InternalItemsHost 6416Panel itemsHost = InternalItemsHost; 6461Panel itemsHost = InternalItemsHost; 6551private static bool CalculateCellDistance(FrameworkElement cell, DataGridRow rowOwner, Panel itemsHost, Rect itemsHostBounds, bool isMouseInCorner, out double distance) 6658Panel itemsHost = InternalItemsHost; 8071Panel itemsHost = dataGrid.InternalItemsHost; 8649private Panel _internalItemsHost; // Workaround for not having access to ItemsHost
System\Windows\Controls\DataGridCell.cs (2)
1092private Panel ParentPanel 1096return VisualParent as Panel;
System\Windows\Controls\GroupItem.cs (3)
312Panel IHierarchicalVirtualizationAndScrollInfo.ItemsHost 399internal Panel ItemsHost 463private Panel _itemsHost;
System\Windows\Controls\InkCanvas.cs (2)
392Panel.BackgroundProperty.AddOwner( 2192_innerCanvas.SetBinding(Panel.BackgroundProperty, background);
System\Windows\Controls\ItemContainerGenerator.cs (1)
166ItemContainerGenerator IItemContainerGenerator.GetItemContainerGeneratorForPanel(Panel panel)
System\Windows\Controls\ItemsControl.cs (9)
784Panel panel = element as Panel; 822Panel panel = element as Panel; 1335Panel p = parent as Panel; 1849internal Panel ItemsHost 2488private FrameworkElement FindEndFocusableLeafContainer(Panel itemsHost, bool last) 4029private Panel _itemsHost;
System\Windows\Controls\ItemsPanelTemplate.cs (3)
115System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel)); 125if (!typeof(Panel).IsAssignableFrom(root.Type)) 128root.SetValue(Panel.IsItemsHostProperty, true);
System\Windows\Controls\ItemsPresenter.cs (5)
45Panel panel = GetVisualChild(0) as Panel; 164internal static ItemsPresenter FromPanel(Panel panel) 304Panel oldPanel = (this.VisualChildrenCount > 0) ? this.GetVisualChild(0) as Panel : null;
System\Windows\Controls\Menu.cs (2)
192Panel itemsHost = ItemsHost; 206Panel itemsHost = ItemsHost;
System\Windows\Controls\Page.cs (3)
323Panel.BackgroundProperty.AddOwner( 326Panel.BackgroundProperty.GetDefaultValue(typeof(Panel)),
System\Windows\Controls\Panel.cs (9)
136typeof(Panel), 211typeof(Panel), 231Panel panel = (Panel) d; 247Panel oldItemsHost = null; 562internal static bool IsAboutToGenerateContent(Panel panel) 905typeof(Panel), 949Panel panel = child.InternalVisualParent as Panel;
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
57Panel.BackgroundProperty.AddOwner(typeof(BulletDecorator),
System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
569internal Panel InternalItemsHost 639private Panel _internalItemsHost;
System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1094private Panel ParentPanel 1098return VisualParent as Panel;
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
426internal Panel InternalItemsHost 1074private Panel _internalItemsHost;
System\Windows\Controls\Primitives\IHierarchicalVirtualizationAndScrollInfo.cs (1)
39Panel ItemsHost { get; }
System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
25ItemContainerGenerator GetItemContainerGeneratorForPanel(Panel panel);
System\Windows\Controls\ToolBar.cs (2)
641Panel itemsHost = VisualTreeHelper.GetParent(currentFocusElement) as Panel;
System\Windows\Controls\ToolBarTray.cs (1)
72Panel.BackgroundProperty.AddOwner(typeof(ToolBarTray),
System\Windows\Controls\TreeViewItem.cs (1)
395Panel IHierarchicalVirtualizationAndScrollInfo.ItemsHost
System\Windows\Controls\UIElementCollection.cs (2)
528Panel p = _visualParent as Panel;
System\Windows\Controls\VirtualizingPanel.cs (3)
345Panel p = ic.ItemsHost; 370private static void VirtualizationPropertyChangePropagationRecursive(DependencyObject parent, Panel itemsHost) 381Panel childItemsHost = virtualizingChild.ItemsHost;
System\Windows\Controls\VirtualizingStackPanel.cs (15)
1095Panel parentItemsHost = parent as Panel; 1122Panel itemsHost, 1136Panel itemsHost, 1254Panel innerPanel = null; 3118Panel parentPanel = (itemsOwner != null) ? VisualTreeHelper.GetParent(itemsOwner) as Panel : null; 4137private static IContainItemStorage GetItemStorageProvider(Panel itemsHost) 4278private static void ClearItemValueStorageRecursive(IContainItemStorage itemStorageProvider, Panel itemsHost) 4289Panel childItemsHost = virtualizingChild.ItemsHost; 6453Panel itemsHost = (virtualizingChild == null) ? null : virtualizingChild.ItemsHost; 6523Panel scrollingPanel = (scrollingItemsControl == null) ? null : scrollingItemsControl.ItemsHost; 6839Panel childItemsHost = virtualizingChild.ItemsHost; 11036Panel itemsHost = null; 11131private DependencyObject FindDirectDescendentOfItemsHost(Panel itemsHost, DependencyObject child)
System\Windows\Documents\FixedPage.cs (1)
430Panel.BackgroundProperty.AddOwner(
System\Windows\Documents\TableColumn.cs (1)
243Panel.BackgroundProperty.AddOwner(
System\windows\Documents\TextSelection.cs (1)
1630backgroundPropertyValue = textEditor.UiScope.GetValue(System.Windows.Controls.Panel.BackgroundProperty);
System\Windows\Input\KeyboardNavigation.cs (1)
2461Panel itemsHost = tvi.ItemsHost;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
531case 437: t = () => typeof(Panel); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (9)
3145Type type = typeof(System.Windows.Controls.Panel); 3146DependencyProperty dp = System.Windows.Controls.Panel.BackgroundProperty; 3148this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType 5310Type type = typeof(System.Windows.Controls.Panel); 5312this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType 5318bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Panel)target).Children; }; 8128Type type = typeof(System.Windows.Controls.Panel); 8129DependencyProperty dp = System.Windows.Controls.Panel.IsItemsHostProperty; 8131this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7268typeof(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)
253pv.Property = Panel.IsItemsHostProperty;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
144Panel.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)
883Panel headerItemsHost = _tabHeaderItemsControl.InternalItemsHost;
Microsoft\Windows\Controls\Ribbon\RibbonComboBox.cs (1)
1190Panel galleryItemsHostSite = _firstGallery.ItemsHostSite;
Microsoft\Windows\Controls\Ribbon\RibbonContextualTabGroupItemsControl.cs (2)
69internal Panel InternalItemsHost 268private Panel _itemsHost; // ItemsPanel instance for this ItemsControl
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (2)
338ItemsHostSite = (Panel)(ItemsPanel.FindName(RibbonGallery.ItemsHostPanelName, _itemsPresenter)); 376internal Panel ItemsHostSite
Microsoft\Windows\Controls\Ribbon\RibbonGalleryCategory.cs (2)
167internal Panel ItemsHostSite 200ItemsHostSite = (Panel)(ItemsPanel.FindName(RibbonGalleryCategory.ItemsHostPanelName, _itemsPresenter));
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (2)
524Panel parentPanel = VisualTreeHelper.GetParent(this) as Panel;
Microsoft\Windows\Controls\Ribbon\RibbonTabHeaderItemsControl.cs (2)
59internal Panel InternalItemsHost 199private Panel _itemsHost; // ItemsPanel instance for this ItemsControl
WindowsFormsIntegration (1)
System\Windows\Integration\ElementHost.cs (1)
159public SWC.Panel HostContainer