13 types derived from Panel
PresentationFramework (10)
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
31internal class InkCanvasInnerCanvas : Panel
src\Framework\System\Windows\Controls\Canvas.cs (1)
43public class Canvas : Panel
src\Framework\System\Windows\Controls\DockPanel.cs (1)
68public class DockPanel : Panel
src\Framework\System\Windows\Controls\Grid.cs (1)
69public class Grid : Panel, IAddChild
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (1)
33public class TabPanel : Panel
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
24public class ToolBarOverflowPanel : Panel
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (1)
39public class UniformGrid : Panel
src\Framework\System\Windows\Controls\Stack.cs (1)
62public class StackPanel : Panel, IScrollInfo, IStackMeasure
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (1)
23public abstract class VirtualizingPanel : Panel
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
35public class WrapPanel : Panel
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (1)
20internal class PropertyPanel : Panel
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (1)
22internal class FreeFormPanel : Panel
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
20sealed class ExtensionSurface : Panel
116 references to Panel
PresentationFramework (112)
src\Framework\MS\Internal\Data\ObjectRef.cs (2)
228Panel panel = fo.FrameworkParent.DO as Panel;
src\Framework\MS\Internal\Helper.cs (3)
1087Panel itemsHost, 1110Panel itemsHost) 1189Panel itemsHost,
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
67Panel itemHost = owner.ItemsHost;
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
427Panel itemHost = row.CellsPresenter.ItemsHost;
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
129Panel itemsHost = owner.ItemsHost;
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (1)
71Panel itemHost = owner.ItemsHost;
src\Framework\System\Windows\Controls\Border.cs (1)
194Panel.BackgroundProperty.AddOwner(typeof(Border),
src\Framework\System\Windows\Controls\Calendar.cs (1)
21[TemplatePart(Name = Calendar.ElementRoot, Type = typeof(Panel))]
src\Framework\System\Windows\Controls\ComboBox.cs (1)
1948Panel itemsHost = ItemsHost;
src\Framework\System\Windows\Controls\Control.cs (2)
120Panel.BackgroundProperty.AddOwner(typeof(Control), 122Panel.BackgroundProperty.DefaultMetadata.DefaultValue,
src\Framework\System\Windows\Controls\DataGrid.cs (7)
1856internal Panel InternalItemsHost 6424Panel itemsHost = InternalItemsHost; 6469Panel itemsHost = InternalItemsHost; 6559private static bool CalculateCellDistance(FrameworkElement cell, DataGridRow rowOwner, Panel itemsHost, Rect itemsHostBounds, bool isMouseInCorner, out double distance) 6666Panel itemsHost = InternalItemsHost; 8080Panel itemsHost = dataGrid.InternalItemsHost; 8679private Panel _internalItemsHost; // Workaround for not having access to ItemsHost
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
1055private Panel ParentPanel 1059return VisualParent as Panel;
src\Framework\System\Windows\Controls\GroupItem.cs (3)
322Panel IHierarchicalVirtualizationAndScrollInfo.ItemsHost 409internal Panel ItemsHost 473private Panel _itemsHost;
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
416Panel.BackgroundProperty.AddOwner( 2329_innerCanvas.SetBinding(Panel.BackgroundProperty, background);
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (1)
174ItemContainerGenerator IItemContainerGenerator.GetItemContainerGeneratorForPanel(Panel panel)
src\Framework\System\Windows\Controls\ItemsControl.cs (9)
795Panel panel = element as Panel; 833Panel panel = element as Panel; 1348Panel p = parent as Panel; 1861internal Panel ItemsHost 2500private FrameworkElement FindEndFocusableLeafContainer(Panel itemsHost, bool last) 3962private Panel _itemsHost;
src\Framework\System\Windows\Controls\ItemsPanelTemplate.cs (3)
124System.Xaml.XamlType panelType = templateHolder.SchemaContext.GetXamlType(typeof(Panel)); 134if (!typeof(Panel).IsAssignableFrom(root.Type)) 137root.SetValue(Panel.IsItemsHostProperty, true);
src\Framework\System\Windows\Controls\ItemsPresenter.cs (5)
51Panel panel = GetVisualChild(0) as Panel; 170internal static ItemsPresenter FromPanel(Panel panel) 310Panel oldPanel = (this.VisualChildrenCount > 0) ? this.GetVisualChild(0) as Panel : null;
src\Framework\System\Windows\Controls\Menu.cs (2)
218Panel itemsHost = ItemsHost; 232Panel itemsHost = ItemsHost;
src\Framework\System\Windows\Controls\Page.cs (3)
338Panel.BackgroundProperty.AddOwner( 341Panel.BackgroundProperty.GetDefaultValue(typeof(Panel)),
src\Framework\System\Windows\Controls\Panel.cs (9)
147typeof(Panel), 222typeof(Panel), 242Panel panel = (Panel) d; 258Panel oldItemsHost = null; 573internal static bool IsAboutToGenerateContent(Panel panel) 916typeof(Panel), 966Panel panel = child.InternalVisualParent as Panel;
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
63Panel.BackgroundProperty.AddOwner(typeof(BulletDecorator),
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (2)
575internal Panel InternalItemsHost 645private Panel _internalItemsHost;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeader.cs (2)
1100private Panel ParentPanel 1104return VisualParent as Panel;
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
431internal Panel InternalItemsHost 1079private Panel _internalItemsHost;
src\Framework\System\Windows\Controls\Primitives\IHierarchicalVirtualizationAndScrollInfo.cs (1)
44Panel ItemsHost { get; }
src\Framework\System\Windows\Controls\Primitives\IItemContainerGenerator.cs (1)
29ItemContainerGenerator GetItemContainerGeneratorForPanel(Panel panel);
src\Framework\System\Windows\Controls\ToolBar.cs (2)
660Panel itemsHost = VisualTreeHelper.GetParent(currentFocusElement) as Panel;
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
81Panel.BackgroundProperty.AddOwner(typeof(ToolBarTray),
src\Framework\System\Windows\Controls\TreeViewItem.cs (1)
400Panel IHierarchicalVirtualizationAndScrollInfo.ItemsHost
src\Framework\System\Windows\Controls\UIElementCollection.cs (2)
538Panel p = _visualParent as Panel;
src\Framework\System\Windows\Controls\VirtualizingPanel.cs (3)
397Panel p = ic.ItemsHost; 422private static void VirtualizationPropertyChangePropagationRecursive(DependencyObject parent, Panel itemsHost) 433Panel childItemsHost = virtualizingChild.ItemsHost;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (15)
1069Panel parentItemsHost = parent as Panel; 1096Panel itemsHost, 1110Panel itemsHost, 1225Panel innerPanel = null; 3070Panel parentPanel = (itemsOwner != null) ? VisualTreeHelper.GetParent(itemsOwner) as Panel : null; 4060private static IContainItemStorage GetItemStorageProvider(Panel itemsHost) 4201private static void ClearItemValueStorageRecursive(IContainItemStorage itemStorageProvider, Panel itemsHost) 4212Panel childItemsHost = virtualizingChild.ItemsHost; 6320Panel itemsHost = (virtualizingChild == null) ? null : virtualizingChild.ItemsHost; 6390Panel scrollingPanel = (scrollingItemsControl == null) ? null : scrollingItemsControl.ItemsHost; 6704Panel childItemsHost = virtualizingChild.ItemsHost; 10894Panel itemsHost = null; 10989private DependencyObject FindDirectDescendentOfItemsHost(Panel itemsHost, DependencyObject child)
src\Framework\System\Windows\Documents\FixedPage.cs (1)
445Panel.BackgroundProperty.AddOwner(
src\Framework\System\Windows\Documents\TableColumn.cs (1)
256Panel.BackgroundProperty.AddOwner(
src\Framework\System\windows\Documents\TextSelection.cs (1)
1636backgroundPropertyValue = textEditor.UiScope.GetValue(System.Windows.Controls.Panel.BackgroundProperty);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
2558Panel itemsHost = tvi.ItemsHost;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
529case 437: t = () => typeof(Panel); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (9)
3139Type type = typeof(System.Windows.Controls.Panel); 3140DependencyProperty dp = System.Windows.Controls.Panel.BackgroundProperty; 3142this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType 5287Type type = typeof(System.Windows.Controls.Panel); 5289this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType 5295bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Panel)target).Children; }; 8088Type type = typeof(System.Windows.Controls.Panel); 8089DependencyProperty dp = System.Windows.Controls.Panel.IsItemsHostProperty; 8091this.GetXamlType(typeof(System.Windows.Controls.Panel)), // DeclaringType
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
7266typeof(System.Windows.Controls.Panel),
src\Framework\System\Windows\Markup\KnownTypes.cs (3)
1853return System.Windows.Controls.Panel.BackgroundProperty; 2432return (o as System.Windows.Controls.Panel).Children; 5981case KnownElements.Panel: t = typeof(System.Windows.Controls.Panel); break;
src\Framework\System\Windows\TemplateContent.cs (1)
267pv.Property = Panel.IsItemsHostProperty;
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
152Panel.BackgroundProperty.AddOwner(typeof(ClassicBorderDecorator),
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorWithStartDot.xaml.cs (2)
44System.Windows.Controls.Panel.SetZIndex(this, 999); 50System.Windows.Controls.Panel.SetZIndex(this, 1);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
449Panel.SetZIndex(window, ++this.currentZIndex);