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