2 types derived from Grid
PresentationFramework (1)
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
14
public class SelectiveScrollingGrid :
Grid
PresentationUI (1)
artifacts\obj\PresentationUI\x86\Debug\net10.0\InstallationError.g.cs (1)
37
internal partial class InstallationErrorPage : System.Windows.Controls.
Grid
, System.Windows.Markup.IComponentConnector {
9 instantiations of Grid
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Preview\MockPreviewPaneService.cs (1)
37
return new
Grid
();
Microsoft.VisualStudio.LanguageServices (1)
PreviewPane\PreviewPane.xaml.cs (1)
169
var grid = new
Grid
();
Microsoft.VisualStudio.LanguageServices.CSharp (2)
SemanticSearch\SemanticSearchToolWindowImpl.cs (2)
128
var toolWindowGrid = new
Grid
();
134
var toolbarGrid = new
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;
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
37
_mainGrid = new
Grid
();
183 references to Grid
Microsoft.CodeAnalysis.EditorFeatures (2)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures\Release\net472\InlineRename\UI\Adornment\RenameFlyout.g.cs (2)
70
internal System.Windows.Controls.
Grid
IdentifierAndExpandButtonGrid;
179
this.IdentifierAndExpandButtonGrid = ((System.Windows.Controls.
Grid
)(target));
Microsoft.VisualStudio.LanguageServices (32)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\AddParameterDialog.g.cs (4)
53
internal System.Windows.Controls.
Grid
ContentGrid;
61
internal System.Windows.Controls.
Grid
Table;
229
this.ContentGrid = ((System.Windows.Controls.
Grid
)(target));
232
this.Table = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\ChangeSignatureDialog.g.cs (2)
53
internal System.Windows.Controls.
Grid
ContentGrid;
301
this.ContentGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\DocumentOutline\DocumentOutlineView.g.cs (2)
64
internal System.Windows.Controls.
Grid
SearchHost;
122
this.SearchHost = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\Analyzers\View\SeverityControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\CodeStyle\View\CodeStyleSeverityControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\CodeStyle\View\CodeStyleValueControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\Common\EnumPropertyView.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesLocationControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesSeverityControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesStyleControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesTypeControl.g.cs (2)
44
internal System.Windows.Controls.
Grid
RootGrid;
89
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\SettingsEditorControl.g.cs (2)
100
internal System.Windows.Controls.
Grid
SettingDisplayArea;
196
this.SettingDisplayArea = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveToNamespace\MoveToNamespaceDialog.g.cs (2)
53
internal System.Windows.Controls.
Grid
Root;
141
this.Root = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ValueTracking\ValueTrackingRoot.g.cs (2)
45
internal System.Windows.Controls.
Grid
RootGrid;
90
this.RootGrid = ((System.Windows.Controls.
Grid
)(target));
PreviewPane\PreviewPane.xaml.cs (2)
169
var
grid = new Grid();
192
Grid
.SetRow(previewElement, grid.RowDefinitions.Count - 1);
Microsoft.VisualStudio.LanguageServices.CSharp (10)
SemanticSearch\SemanticSearchToolWindowImpl.cs (10)
128
var
toolWindowGrid = new Grid();
134
var
toolbarGrid = new Grid();
170
Grid
.SetRow(toolbarGrid, 0);
171
Grid
.SetColumn(toolbarGrid, 0);
173
Grid
.SetRow(textViewControl, 2);
174
Grid
.SetColumn(textViewControl, 0);
178
Grid
.SetRow(executeButton, 0);
179
Grid
.SetColumn(executeButton, 0);
181
Grid
.SetRow(cancelButton, 0);
182
Grid
.SetColumn(cancelButton, 1);
PresentationFramework (120)
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 (3)
54
internal ColumnDefinitionCollection(
Grid
owner)
721
private readonly
Grid
_owner; // owner of the collection
968
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)
109
internal void OnBeforeLayout(
Grid
grid)
155
Grid
parentGrid = (
Grid
) definition.Parent;
192
Grid
parentGrid = (
Grid
) definition.Parent;
221
Grid
parentGrid = (
Grid
) definition.Parent;
326
internal
Grid
.LayoutTimeSizeType SizeType
352
if ( _sizeType !=
Grid
.LayoutTimeSizeType.Auto
665
private
Grid
.LayoutTimeSizeType _sizeType; // layout-time user size type. it may differ from _userSizeValueCache.UnitType when calculating "to-content"
790
Grid
parentGrid = (
Grid
)(_registry[i].Parent);
929
Grid
parentGrid = (
Grid
)definitionBase.Parent;
937
Grid
parentGrid = (
Grid
)definitionBase.Parent;
System\Windows\Controls\Grid.cs (13)
2952
Grid
grid = (
Grid
)d;
2972
Grid
grid = VisualTreeHelper.GetParent(child) as
Grid
;
3370
typeof(
Grid
),
3391
typeof(
Grid
),
3413
typeof(
Grid
),
3434
typeof(
Grid
),
3455
typeof(
Grid
),
3469
typeof(
Grid
),
3866
internal GridChildrenCollectionEnumeratorSimple(
Grid
grid, bool includeChildren)
3984
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
165
_monthView = GetTemplateChild(ElementMonthView) as
Grid
;
166
_yearView = GetTemplateChild(ElementYearView) as
Grid
;
945
titleCell.SetValue(
Grid
.RowProperty, 0);
946
titleCell.SetValue(
Grid
.ColumnProperty, i);
958
dayCell.SetValue(
Grid
.RowProperty, i);
959
dayCell.SetValue(
Grid
.ColumnProperty, j);
985
monthCell.SetValue(
Grid
.RowProperty, i);
986
monthCell.SetValue(
Grid
.ColumnProperty, j);
System\Windows\Controls\RowDefinition.cs (3)
49
internal RowDefinitionCollection(
Grid
owner)
716
private readonly
Grid
_owner; // owner of the collection
963
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 (21)
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; },
6883
Type type = typeof(System.Windows.Controls.
Grid
);
6885
this.GetXamlType(typeof(System.Windows.Controls.
Grid
)), // DeclaringType
6892
GetDelegate = delegate (object target) { return ((System.Windows.Controls.
Grid
)target).RowDefinitions; },
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)
artifacts\obj\PresentationUI\x86\Debug\net10.0\InstallationError.g.cs (2)
42
internal System.Windows.Controls.
Grid
RedWarning;
134
this.RedWarning = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\MS\Internal\Documents\FindToolBar.g.cs (2)
66
internal System.Windows.Controls.
Grid
FindTextBoxGrid;
199
this.FindTextBoxGrid = ((System.Windows.Controls.
Grid
)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\TenFeetInstallationError.g.cs (2)
42
internal System.Windows.Controls.
Grid
Grid_2;
142
this.Grid_2 = ((System.Windows.Controls.
Grid
)(target));
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
676
private
Grid
ToolBar
683
_toolBar = GetTemplateChild(_toolBarName) as
Grid
;
2208
private
Grid
_toolBar;
Roslyn.VisualStudio.DiagnosticsWindow (4)
PerfMargin\PerfMarginPanel.cs (4)
24
private readonly
Grid
_mainGrid;
45
Grid
.SetRow(_mainListView, 0);
104
Grid
.SetColumn(label, 1);
152
Grid
.SetColumn(_detailsListView, 1);
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);