2 types derived from Grid
PresentationFramework (1)
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
14
public class SelectiveScrollingGrid :
Grid
PresentationUI (1)
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.0\InstallationError.g.cs (1)
37
internal partial class InstallationErrorPage : System.Windows.Controls.
Grid
, System.Windows.Markup.IComponentConnector {
4 instantiations of Grid
PresentationFramework (4)
System\Windows\Controls\BorderGapMaskConverter.cs (1)
80
Grid grid = new
Grid
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
380
embeddedObject = new
Grid
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5319
DefaultConstructor = delegate () { return new System.Windows.Controls.
Grid
(); },
System\Windows\Markup\KnownTypes.cs (1)
1297
case KnownElements.Grid: o = new System.Windows.Controls.
Grid
(); break;
143 references to Grid
PresentationFramework (128)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
36
private
Grid
OwningGrid
135
int childRow = (int)child.GetValue(
Grid
.RowProperty);
366
int childRow = (int)child.GetValue(
Grid
.RowProperty);
367
int childColumn = (int)child.GetValue(
Grid
.ColumnProperty);
607
int childRow = (int)child.GetValue(
Grid
.RowProperty);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (6)
634
return (int)owningButton.GetValue(
Grid
.ColumnProperty);
653
return (int)owningButton.GetValue(
Grid
.ColumnSpanProperty);
685
Debug.Assert((int)owningButton.GetValue(
Grid
.RowProperty) > 0);
688
return (int)owningButton.GetValue(
Grid
.RowProperty) - 1;
692
return (int)owningButton.GetValue(
Grid
.RowProperty);
714
return (int)owningButton.GetValue(
Grid
.RowSpanProperty);
System\Windows\Controls\BorderGapMaskConverter.cs (9)
80
Grid
grid = new Grid
108
Grid
.SetRowSpan(rectColumn1, 2);
109
Grid
.SetRow(rectColumn1, 0);
110
Grid
.SetColumn(rectColumn1, 0);
112
Grid
.SetRow(rectColumn2, 1);
113
Grid
.SetColumn(rectColumn2, 1);
115
Grid
.SetRowSpan(rectColumn3, 2);
116
Grid
.SetRow(rectColumn3, 0);
117
Grid
.SetColumn(rectColumn3, 2);
System\Windows\Controls\ColumnDefinition.cs (6)
54
internal ColumnDefinitionCollection(
Grid
owner = null)
502
internal
Grid
Owner
516
throw new ArgumentException(SR.Format(SR.GridCollection_InOtherCollection, nameof(
Grid
), nameof(ColumnDefinitionCollection)));
540
throw new ArgumentException(SR.Format(SR.GridCollection_InOtherCollection, nameof(ColumnDefinitionCollection), nameof(
Grid
)));
768
private
Grid
_owner; // owner of the collection
1015
value = ((
Grid
)base.Parent).GetFinalColumnDefinitionWidth(base.Index);
System\Windows\Controls\DatePicker.cs (1)
21
[TemplatePart(Name = DatePicker.ElementRoot, Type = typeof(
Grid
))]
System\Windows\Controls\DefinitionBase.cs (16)
106
internal void OnBeforeLayout(
Grid
grid)
152
Grid
parentGrid = (
Grid
) definition.Parent;
189
Grid
parentGrid = (
Grid
) definition.Parent;
218
Grid
parentGrid = (
Grid
) definition.Parent;
323
internal
Grid
.LayoutTimeSizeType SizeType
349
if ( _sizeType !=
Grid
.LayoutTimeSizeType.Auto
656
private
Grid
.LayoutTimeSizeType _sizeType; // layout-time user size type. it may differ from _userSizeValueCache.UnitType when calculating "to-content"
781
Grid
parentGrid = (
Grid
)(_registry[i].Parent);
920
Grid
parentGrid = (
Grid
)definitionBase.Parent;
928
Grid
parentGrid = (
Grid
)definitionBase.Parent;
System\Windows\Controls\Grid.cs (13)
3006
Grid
grid = (
Grid
)d;
3026
Grid
grid = VisualTreeHelper.GetParent(child) as
Grid
;
3424
typeof(
Grid
),
3445
typeof(
Grid
),
3467
typeof(
Grid
),
3488
typeof(
Grid
),
3509
typeof(
Grid
),
3523
typeof(
Grid
),
3920
internal GridChildrenCollectionEnumeratorSimple(
Grid
grid, bool includeChildren)
4038
Grid
grid = VisualTreeHelper.GetParent(this) as
Grid
;
System\Windows\Controls\GridSplitter.cs (10)
490
Grid
grid = Parent as
Grid
;
523
int gridSpan = (int)GetValue(_resizeData.ResizeDirection == GridResizeDirection.Columns ?
Grid
.ColumnSpanProperty :
Grid
.RowSpanProperty);
527
splitterIndex = (int)GetValue(_resizeData.ResizeDirection == GridResizeDirection.Columns ?
Grid
.ColumnProperty :
Grid
.RowProperty);
736
Grid
grid = Parent as
Grid
;
766
private static DefinitionBase GetGridDefinition(
Grid
grid, int index, GridResizeDirection direction)
997
public
Grid
Grid;
System\Windows\Controls\Primitives\CalendarItem.cs (14)
16
[TemplatePart(Name = CalendarItem.ElementMonthView, Type = typeof(
Grid
))]
17
[TemplatePart(Name = CalendarItem.ElementYearView, Type = typeof(
Grid
))]
47
private
Grid
_monthView;
50
private
Grid
_yearView;
75
internal
Grid
MonthView
86
internal
Grid
YearView
154
_monthView = GetTemplateChild(ElementMonthView) as
Grid
;
155
_yearView = GetTemplateChild(ElementYearView) as
Grid
;
931
titleCell.SetValue(
Grid
.RowProperty, 0);
932
titleCell.SetValue(
Grid
.ColumnProperty, i);
944
dayCell.SetValue(
Grid
.RowProperty, i);
945
dayCell.SetValue(
Grid
.ColumnProperty, j);
971
monthCell.SetValue(
Grid
.RowProperty, i);
972
monthCell.SetValue(
Grid
.ColumnProperty, j);
System\Windows\Controls\RowDefinition.cs (6)
49
internal RowDefinitionCollection(
Grid
owner = null)
497
internal
Grid
Owner
511
throw new ArgumentException(SR.Format(SR.GridCollection_InOtherCollection, nameof(
Grid
), nameof(RowDefinitionCollection)));
535
throw new ArgumentException(SR.Format(SR.GridCollection_InOtherCollection, nameof(RowDefinitionCollection), nameof(
Grid
)));
763
private
Grid
_owner; // owner of the collection
1010
value = ((
Grid
)base.Parent).GetFinalRowDefinitionHeight(base.Index);
System\Windows\Controls\ScrollViewer.cs (10)
2660
FrameworkElementFactory grid = new FrameworkElementFactory(typeof(
Grid
), "Grid");
2683
grid.SetValue(
Grid
.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty));
2698
content.SetValue(
Grid
.ColumnProperty, 0);
2699
content.SetValue(
Grid
.RowProperty, 0);
2706
hsb.SetValue(
Grid
.ColumnProperty, 0);
2707
hsb.SetValue(
Grid
.RowProperty, 1);
2716
vsb.SetValue(
Grid
.ColumnProperty, 1);
2717
vsb.SetValue(
Grid
.RowProperty, 0);
2726
corner.SetValue(
Grid
.ColumnProperty, 1);
2727
corner.SetValue(
Grid
.RowProperty, 1);
System\Windows\FrameworkElementFactory.cs (2)
878
Grid
parentGrid;
883
&& (parentGrid = parent as
Grid
) != null
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
347
case 254: t = () => typeof(
Grid
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (23)
2811
Type type = typeof(System.Windows.Controls.
Grid
);
2812
DependencyProperty dp = System.Windows.Controls.
Grid
.ColumnProperty;
2814
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
2830
Type type = typeof(System.Windows.Controls.
Grid
);
2831
DependencyProperty dp = System.Windows.Controls.
Grid
.ColumnSpanProperty;
2833
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
2849
Type type = typeof(System.Windows.Controls.
Grid
);
2850
DependencyProperty dp = System.Windows.Controls.
Grid
.RowProperty;
2852
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
2868
Type type = typeof(System.Windows.Controls.
Grid
);
2869
DependencyProperty dp = System.Windows.Controls.
Grid
.RowSpanProperty;
2871
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
4931
Type type = typeof(System.Windows.Controls.
Grid
);
4933
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
4940
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Grid
)target).Children; },
6864
Type type = typeof(System.Windows.Controls.
Grid
);
6866
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
6873
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Grid
)target).ColumnDefinitions; },
6874
SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.
Grid
)target).ColumnDefinitions = (System.Windows.Controls.ColumnDefinitionCollection)value; },
6885
Type type = typeof(System.Windows.Controls.
Grid
);
6887
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
6894
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Grid
)target).RowDefinitions; },
6895
SetDelegate = delegate(object target, object value) { ((System.Windows.Controls.
Grid
)target).RowDefinitions = (System.Windows.Controls.RowDefinitionCollection)value; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5316
typeof(System.Windows.Controls.
Grid
),
System\Windows\Markup\KnownTypes.cs (5)
1795
return System.Windows.Controls.
Grid
.ColumnProperty;
1797
return System.Windows.Controls.
Grid
.ColumnSpanProperty;
1799
return System.Windows.Controls.
Grid
.RowProperty;
1801
return System.Windows.Controls.
Grid
.RowSpanProperty;
5801
case KnownElements.Grid: t = typeof(System.Windows.Controls.
Grid
); break;
PresentationUI (9)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
676
private
Grid
ToolBar
683
_toolBar = GetTemplateChild(_toolBarName) as
Grid
;
2204
private
Grid
_toolBar;
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.0\InstallationError.g.cs (2)
42
internal System.Windows.Controls.
Grid
RedWarning;
134
this.RedWarning = ((System.Windows.Controls.
Grid
)(target));
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.0\MS\Internal\Documents\FindToolBar.g.cs (2)
66
internal System.Windows.Controls.
Grid
FindTextBoxGrid;
199
this.FindTextBoxGrid = ((System.Windows.Controls.
Grid
)(target));
src\wpf\artifacts\obj\PresentationUI\x64\Release\net11.0\TenFeetInstallationError.g.cs (2)
42
internal System.Windows.Controls.
Grid
Grid_2;
142
this.Grid_2 = ((System.Windows.Controls.
Grid
)(target));
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
47
[TemplatePart(Name = Ribbon.QatHostTemplateName, Type = typeof(
Grid
))]
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (3)
43
[TemplatePart(Name = RibbonGroup.PopupGridTemplatePartName, Type = typeof(
Grid
))]
142
Grid
popupGrid = this.GetTemplateChild(PopupGridTemplatePartName) as
Grid
;
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (2)
158
SetValue(
Grid
.IsSharedSizeScopeProperty, true);
159
ClearValue(
Grid
.IsSharedSizeScopeProperty);