2 types derived from Grid
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
19public class SelectiveScrollingGrid : Grid
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\View\NoContextMenuGrid.cs (1)
11internal class NoContextMenuGrid : Grid
12 instantiations of Grid
PresentationFramework (4)
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (1)
92Grid grid = new Grid();
src\Framework\System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
406embeddedObject = new Grid();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4889bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Grid(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1305case KnownElements.Grid: o = new System.Windows.Controls.Grid(); break;
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
849Grid grid = new Grid();
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
91Grid errorGrid = new Grid();
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
113this.view = new Grid(); 304this.outlineView = new Grid();
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
81this.contentGrid = new Grid(); 91this.containerGrid = new Grid();
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
82hintTextGrid = new Grid(); 98this.outerGrid = new Grid()
141 references to Grid
PresentationFramework (114)
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
44private Grid OwningGrid 143int childRow = (int)child.GetValue(Grid.RowProperty); 394int childRow = (int)child.GetValue(Grid.RowProperty); 395int childColumn = (int)child.GetValue(Grid.ColumnProperty); 638int childRow = (int)child.GetValue(Grid.RowProperty);
src\Framework\System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (6)
621return (int)owningButton.GetValue(Grid.ColumnProperty); 640return (int)owningButton.GetValue(Grid.ColumnSpanProperty); 672Debug.Assert((int)owningButton.GetValue(Grid.RowProperty) > 0); 675return (int)owningButton.GetValue(Grid.RowProperty) - 1; 679return (int)owningButton.GetValue(Grid.RowProperty); 701return (int)owningButton.GetValue(Grid.RowSpanProperty);
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (9)
92Grid grid = new Grid(); 118Grid.SetRowSpan(rectColumn1, 2); 119Grid.SetRow(rectColumn1, 0); 120Grid.SetColumn(rectColumn1, 0); 122Grid.SetRow(rectColumn2, 1); 123Grid.SetColumn(rectColumn2, 1); 125Grid.SetRowSpan(rectColumn3, 2); 126Grid.SetRow(rectColumn3, 0); 127Grid.SetColumn(rectColumn3, 2);
src\Framework\System\Windows\Controls\DatePicker.cs (1)
27[TemplatePart(Name = DatePicker.ElementRoot, Type = typeof(Grid))]
src\Framework\System\Windows\Controls\DefinitionBase.cs (16)
123internal void OnBeforeLayout(Grid grid) 170Grid parentGrid = (Grid) definition.Parent; 207Grid parentGrid = (Grid) definition.Parent; 236Grid parentGrid = (Grid) definition.Parent; 341internal Grid.LayoutTimeSizeType SizeType 367if ( _sizeType != Grid.LayoutTimeSizeType.Auto 672private Grid.LayoutTimeSizeType _sizeType; // layout-time user size type. it may differ from _userSizeValueCache.UnitType when calculating "to-content" 797Grid parentGrid = (Grid)(_registry[i].Parent); 897Grid parentGrid = (Grid)definitionBase.Parent; 910Grid parentGrid = (Grid)definitionBase.Parent;
src\Framework\System\Windows\Controls\Grid.cs (13)
3027Grid grid = (Grid)d; 3047Grid grid = VisualTreeHelper.GetParent(child) as Grid; 3446typeof(Grid), 3467typeof(Grid), 3489typeof(Grid), 3510typeof(Grid), 3531typeof(Grid), 3545typeof(Grid), 4107internal GridChildrenCollectionEnumeratorSimple(Grid grid, bool includeChildren) 4225Grid grid = VisualTreeHelper.GetParent(this) as Grid;
src\Framework\System\Windows\Controls\GridSplitter.cs (10)
495Grid grid = Parent as Grid; 526int gridSpan = (int)GetValue(_resizeData.ResizeDirection == GridResizeDirection.Columns ? Grid.ColumnSpanProperty : Grid.RowSpanProperty); 530splitterIndex = (int)GetValue(_resizeData.ResizeDirection == GridResizeDirection.Columns ? Grid.ColumnProperty : Grid.RowProperty); 739Grid grid = Parent as Grid; 769private static DefinitionBase GetGridDefinition(Grid grid, int index, GridResizeDirection direction) 1000public Grid Grid;
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (14)
23[TemplatePart(Name = CalendarItem.ElementMonthView, Type = typeof(Grid))] 24[TemplatePart(Name = CalendarItem.ElementYearView, Type = typeof(Grid))] 54private Grid _monthView; 57private Grid _yearView; 82internal Grid MonthView 93internal Grid YearView 172_monthView = GetTemplateChild(ElementMonthView) as Grid; 173_yearView = GetTemplateChild(ElementYearView) as Grid; 962titleCell.SetValue(Grid.RowProperty, 0); 963titleCell.SetValue(Grid.ColumnProperty, i); 974dayCell.SetValue(Grid.RowProperty, i); 975dayCell.SetValue(Grid.ColumnProperty, j); 1000monthCell.SetValue(Grid.RowProperty, i); 1001monthCell.SetValue(Grid.ColumnProperty, j);
src\Framework\System\Windows\Controls\ScrollViewer.cs (10)
2716FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2735grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 2750content.SetValue(Grid.ColumnProperty, 0); 2751content.SetValue(Grid.RowProperty, 0); 2758hsb.SetValue(Grid.ColumnProperty, 0); 2759hsb.SetValue(Grid.RowProperty, 1); 2768vsb.SetValue(Grid.ColumnProperty, 1); 2769vsb.SetValue(Grid.RowProperty, 0); 2778corner.SetValue(Grid.ColumnProperty, 1); 2779corner.SetValue(Grid.RowProperty, 1);
src\Framework\System\Windows\FrameworkElementFactory.cs (2)
913Grid parentGrid; 918&& (parentGrid = parent as Grid) != null
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
346case 254: t = () => typeof(Grid); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (21)
2720Type type = typeof(System.Windows.Controls.Grid); 2721DependencyProperty dp = System.Windows.Controls.Grid.ColumnProperty; 2723this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 2737Type type = typeof(System.Windows.Controls.Grid); 2738DependencyProperty dp = System.Windows.Controls.Grid.ColumnSpanProperty; 2740this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 2754Type type = typeof(System.Windows.Controls.Grid); 2755DependencyProperty dp = System.Windows.Controls.Grid.RowProperty; 2757this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 2771Type type = typeof(System.Windows.Controls.Grid); 2772DependencyProperty dp = System.Windows.Controls.Grid.RowSpanProperty; 2774this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 4633Type type = typeof(System.Windows.Controls.Grid); 4635this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 4641bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Grid)target).Children; }; 6355Type type = typeof(System.Windows.Controls.Grid); 6357this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 6363bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Grid)target).ColumnDefinitions; }; 6372Type type = typeof(System.Windows.Controls.Grid); 6374this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 6380bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Grid)target).RowDefinitions; };
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4887typeof(System.Windows.Controls.Grid),
src\Framework\System\Windows\Markup\KnownTypes.cs (5)
1803return System.Windows.Controls.Grid.ColumnProperty; 1805return System.Windows.Controls.Grid.ColumnSpanProperty; 1807return System.Windows.Controls.Grid.RowProperty; 1809return System.Windows.Controls.Grid.RowSpanProperty; 5798case KnownElements.Grid: t = typeof(System.Windows.Controls.Grid); break;
System.Activities.Core.Presentation (7)
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (4)
26DependencyProperty.Register("ParentGrid", typeof(Grid), typeof(FlowchartResizeGrip)); 45public Grid ParentGrid 47get { return (Grid)GetValue(ParentGridProperty); } 84Grid flowchartGrid = this.ParentGrid;
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (1)
262Grid.SetRow(view, 0);
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (1)
320Grid.SetRow(view, 0);
System\Activities\Core\Presentation\StateContainerResizeGrip.cs (1)
132Grid stateContainerGrid = stateContainerEditor.stateContainerGrid;
System.Activities.Presentation (20)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Automation\CategoryContainerAutomationPeer.cs (4)
259DependencyPropertyDescriptor dpd = DependencyPropertyDescriptor.FromProperty(PropertySelection.IsSelectedProperty, typeof(Grid)); 310DependencyPropertyDescriptor dpd = DependencyPropertyDescriptor.FromProperty(PropertySelection.IsSelectedProperty, typeof(Grid)); 534DependencyPropertyDescriptor dpd = DependencyPropertyDescriptor.FromProperty(PropertySelection.IsSelectedProperty, typeof(Grid)); 584DependencyPropertyDescriptor dpd = DependencyPropertyDescriptor.FromProperty(PropertySelection.IsSelectedProperty, typeof(Grid));
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
849Grid grid = new Grid();
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (2)
242Grid contentGrid; 246public MiniMapViewController(Canvas lookupCanvas, Rectangle lookupWindowRectangle, Grid contentGrid)
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
91Grid errorGrid = new Grid();
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (2)
50Grid view; 51Grid outlineView;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (2)
63Grid contentGrid; 65Grid containerGrid;
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (8)
71Grid hintTextGrid; 76Grid outerGrid; 86hintTextGrid.SetBinding(Grid.MinHeightProperty, "MinHeight"); 87hintTextGrid.SetBinding(Grid.MinWidthProperty, "MinWidth"); 103Grid.SetRow(this.panel, 0); 104Grid.SetColumn(this.panel, 0); 105Grid.SetRow(this.hintTextGrid, 1); 106Grid.SetColumn(this.hintTextGrid, 0);