2 types derived from Grid
PresentationFramework (1)
System\Windows\Controls\Primitives\SelectiveScrollingGrid.cs (1)
15public class SelectiveScrollingGrid : Grid
PresentationUI (1)
artifacts\obj\PresentationUI\x86\Debug\net10.0\InstallationError.g.cs (1)
37internal partial class InstallationErrorPage : System.Windows.Controls.Grid, System.Windows.Markup.IComponentConnector {
11 instantiations of Grid
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Preview\MockPreviewPaneService.cs (1)
37return new Grid();
Microsoft.VisualStudio.LanguageServices (1)
PreviewPane\PreviewPane.xaml.cs (1)
169var grid = new Grid();
Microsoft.VisualStudio.LanguageServices.CSharp (4)
SemanticSearch\SemanticSearchToolWindowImpl.cs (4)
119var toolWindowGrid = new Grid(); 125var toolbarGrid = new Grid(); 202var outerGrid = new Grid() 214var promptGrid = new Grid();
PresentationFramework (4)
System\Windows\Controls\BorderGapMaskConverter.cs (1)
81Grid grid = new Grid
System\Windows\Documents\TextTreeDeleteContentUndoUnit.cs (1)
381embeddedObject = new Grid();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5320DefaultConstructor = delegate () { return new System.Windows.Controls.Grid(); },
System\Windows\Markup\KnownTypes.cs (1)
1298case KnownElements.Grid: o = new System.Windows.Controls.Grid(); break;
Roslyn.VisualStudio.DiagnosticsWindow (1)
PerfMargin\PerfMarginPanel.cs (1)
37_mainGrid = new Grid();
190 references to Grid
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
artifacts\obj\Microsoft.CodeAnalysis.EditorFeatures.Wpf\Release\net472\InlineRename\UI\Adornment\RenameFlyout.g.cs (2)
70internal System.Windows.Controls.Grid IdentifierAndExpandButtonGrid; 179this.IdentifierAndExpandButtonGrid = ((System.Windows.Controls.Grid)(target));
Microsoft.VisualStudio.LanguageServices (32)
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\AddParameterDialog.g.cs (4)
53internal System.Windows.Controls.Grid ContentGrid; 61internal System.Windows.Controls.Grid Table; 229this.ContentGrid = ((System.Windows.Controls.Grid)(target)); 232this.Table = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ChangeSignature\ChangeSignatureDialog.g.cs (2)
53internal System.Windows.Controls.Grid ContentGrid; 301this.ContentGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\DocumentOutline\DocumentOutlineView.g.cs (2)
64internal System.Windows.Controls.Grid SearchHost; 122this.SearchHost = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\Analyzers\View\SeverityControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\CodeStyle\View\CodeStyleSeverityControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\CodeStyle\View\CodeStyleValueControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\Common\EnumPropertyView.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesLocationControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesSeverityControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesStyleControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\NamingStyle\View\ColumnViews\NamingStylesTypeControl.g.cs (2)
44internal System.Windows.Controls.Grid RootGrid; 89this.RootGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\EditorConfigSettings\SettingsEditorControl.g.cs (2)
100internal System.Windows.Controls.Grid SettingDisplayArea; 196this.SettingDisplayArea = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\MoveToNamespace\MoveToNamespaceDialog.g.cs (2)
53internal System.Windows.Controls.Grid Root; 141this.Root = ((System.Windows.Controls.Grid)(target));
artifacts\obj\Microsoft.VisualStudio.LanguageServices\Release\net472\ValueTracking\ValueTrackingRoot.g.cs (2)
45internal System.Windows.Controls.Grid RootGrid; 90this.RootGrid = ((System.Windows.Controls.Grid)(target));
PreviewPane\PreviewPane.xaml.cs (2)
169var grid = new Grid(); 192Grid.SetRow(previewElement, grid.RowDefinitions.Count - 1);
Microsoft.VisualStudio.LanguageServices.CSharp (17)
SemanticSearch\SemanticSearchToolWindowImpl.cs (17)
119var toolWindowGrid = new Grid(); 125var toolbarGrid = new Grid(); 166Grid.SetRow(toolbarGrid, 0); 167Grid.SetColumn(toolbarGrid, 0); 171Grid.SetRow(copilotUI.Control, 1); 172Grid.SetColumn(copilotUI.Control, 0); 175Grid.SetRow(textViewControl, 2); 176Grid.SetColumn(textViewControl, 0); 180Grid.SetRow(executeButton, 0); 181Grid.SetColumn(executeButton, 0); 183Grid.SetRow(cancelButton, 0); 184Grid.SetColumn(cancelButton, 1); 202var outerGrid = new Grid() 214var promptGrid = new Grid(); 230Grid.SetColumn(promptTextBox.Control, 0); 233Grid.SetColumn(panel, 1); 244Grid.SetColumn(promptGridBorder, 0);
PresentationFramework (120)
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (5)
37private Grid OwningGrid 136int childRow = (int)child.GetValue(Grid.RowProperty); 370int childRow = (int)child.GetValue(Grid.RowProperty); 371int childColumn = (int)child.GetValue(Grid.ColumnProperty); 611int childRow = (int)child.GetValue(Grid.RowProperty);
System\Windows\Automation\Peers\DateTimeAutomationPeer.cs (6)
638return (int)owningButton.GetValue(Grid.ColumnProperty); 657return (int)owningButton.GetValue(Grid.ColumnSpanProperty); 689Debug.Assert((int)owningButton.GetValue(Grid.RowProperty) > 0); 692return (int)owningButton.GetValue(Grid.RowProperty) - 1; 696return (int)owningButton.GetValue(Grid.RowProperty); 718return (int)owningButton.GetValue(Grid.RowSpanProperty);
System\Windows\Controls\BorderGapMaskConverter.cs (9)
81Grid grid = new Grid 109Grid.SetRowSpan(rectColumn1, 2); 110Grid.SetRow(rectColumn1, 0); 111Grid.SetColumn(rectColumn1, 0); 113Grid.SetRow(rectColumn2, 1); 114Grid.SetColumn(rectColumn2, 1); 116Grid.SetRowSpan(rectColumn3, 2); 117Grid.SetRow(rectColumn3, 0); 118Grid.SetColumn(rectColumn3, 2);
System\Windows\Controls\ColumnDefinition.cs (3)
55internal ColumnDefinitionCollection(Grid owner) 722private readonly Grid _owner; // owner of the collection 969value = ((Grid)base.Parent).GetFinalColumnDefinitionWidth(base.Index);
System\Windows\Controls\DatePicker.cs (1)
22[TemplatePart(Name = DatePicker.ElementRoot, Type = typeof(Grid))]
System\Windows\Controls\DefinitionBase.cs (16)
110internal void OnBeforeLayout(Grid grid) 156Grid parentGrid = (Grid) definition.Parent; 193Grid parentGrid = (Grid) definition.Parent; 222Grid parentGrid = (Grid) definition.Parent; 327internal Grid.LayoutTimeSizeType SizeType 353if ( _sizeType != Grid.LayoutTimeSizeType.Auto 666private Grid.LayoutTimeSizeType _sizeType; // layout-time user size type. it may differ from _userSizeValueCache.UnitType when calculating "to-content" 791Grid parentGrid = (Grid)(_registry[i].Parent); 930Grid parentGrid = (Grid)definitionBase.Parent; 938Grid parentGrid = (Grid)definitionBase.Parent;
System\Windows\Controls\Grid.cs (13)
2953Grid grid = (Grid)d; 2973Grid grid = VisualTreeHelper.GetParent(child) as Grid; 3371typeof(Grid), 3392typeof(Grid), 3414typeof(Grid), 3435typeof(Grid), 3456typeof(Grid), 3470typeof(Grid), 3867internal GridChildrenCollectionEnumeratorSimple(Grid grid, bool includeChildren) 3985Grid grid = VisualTreeHelper.GetParent(this) as Grid;
System\Windows\Controls\GridSplitter.cs (10)
491Grid grid = Parent as Grid; 524int gridSpan = (int)GetValue(_resizeData.ResizeDirection == GridResizeDirection.Columns ? Grid.ColumnSpanProperty : Grid.RowSpanProperty); 528splitterIndex = (int)GetValue(_resizeData.ResizeDirection == GridResizeDirection.Columns ? Grid.ColumnProperty : Grid.RowProperty); 737Grid grid = Parent as Grid; 767private static DefinitionBase GetGridDefinition(Grid grid, int index, GridResizeDirection direction) 998public Grid Grid;
System\Windows\Controls\Primitives\CalendarItem.cs (14)
17[TemplatePart(Name = CalendarItem.ElementMonthView, Type = typeof(Grid))] 18[TemplatePart(Name = CalendarItem.ElementYearView, Type = typeof(Grid))] 48private Grid _monthView; 51private Grid _yearView; 76internal Grid MonthView 87internal Grid YearView 166_monthView = GetTemplateChild(ElementMonthView) as Grid; 167_yearView = GetTemplateChild(ElementYearView) as Grid; 946titleCell.SetValue(Grid.RowProperty, 0); 947titleCell.SetValue(Grid.ColumnProperty, i); 959dayCell.SetValue(Grid.RowProperty, i); 960dayCell.SetValue(Grid.ColumnProperty, j); 986monthCell.SetValue(Grid.RowProperty, i); 987monthCell.SetValue(Grid.ColumnProperty, j);
System\Windows\Controls\RowDefinition.cs (3)
50internal RowDefinitionCollection(Grid owner) 717private readonly Grid _owner; // owner of the collection 964value = ((Grid)base.Parent).GetFinalRowDefinitionHeight(base.Index);
System\Windows\Controls\ScrollViewer.cs (10)
2666FrameworkElementFactory grid = new FrameworkElementFactory(typeof(Grid), "Grid"); 2689grid.SetValue(Grid.BackgroundProperty, new TemplateBindingExtension(BackgroundProperty)); 2704content.SetValue(Grid.ColumnProperty, 0); 2705content.SetValue(Grid.RowProperty, 0); 2712hsb.SetValue(Grid.ColumnProperty, 0); 2713hsb.SetValue(Grid.RowProperty, 1); 2722vsb.SetValue(Grid.ColumnProperty, 1); 2723vsb.SetValue(Grid.RowProperty, 0); 2732corner.SetValue(Grid.ColumnProperty, 1); 2733corner.SetValue(Grid.RowProperty, 1);
System\Windows\FrameworkElementFactory.cs (2)
879Grid parentGrid; 884&& (parentGrid = parent as Grid) != null
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
348case 254: t = () => typeof(Grid); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (21)
2812Type type = typeof(System.Windows.Controls.Grid); 2813DependencyProperty dp = System.Windows.Controls.Grid.ColumnProperty; 2815this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 2831Type type = typeof(System.Windows.Controls.Grid); 2832DependencyProperty dp = System.Windows.Controls.Grid.ColumnSpanProperty; 2834this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 2850Type type = typeof(System.Windows.Controls.Grid); 2851DependencyProperty dp = System.Windows.Controls.Grid.RowProperty; 2853this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 2869Type type = typeof(System.Windows.Controls.Grid); 2870DependencyProperty dp = System.Windows.Controls.Grid.RowSpanProperty; 2872this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 4932Type type = typeof(System.Windows.Controls.Grid); 4934this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 4941GetDelegate = delegate (object target) { return ((System.Windows.Controls.Grid)target).Children; }, 6865Type type = typeof(System.Windows.Controls.Grid); 6867this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 6874GetDelegate = delegate (object target) { return ((System.Windows.Controls.Grid)target).ColumnDefinitions; }, 6884Type type = typeof(System.Windows.Controls.Grid); 6886this.GetXamlType(typeof(System.Windows.Controls.Grid)), // DeclaringType 6893GetDelegate = delegate (object target) { return ((System.Windows.Controls.Grid)target).RowDefinitions; },
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5317typeof(System.Windows.Controls.Grid),
System\Windows\Markup\KnownTypes.cs (5)
1796return System.Windows.Controls.Grid.ColumnProperty; 1798return System.Windows.Controls.Grid.ColumnSpanProperty; 1800return System.Windows.Controls.Grid.RowProperty; 1802return System.Windows.Controls.Grid.RowSpanProperty; 5802case KnownElements.Grid: t = typeof(System.Windows.Controls.Grid); break;
PresentationUI (9)
artifacts\obj\PresentationUI\x86\Debug\net10.0\InstallationError.g.cs (2)
42internal System.Windows.Controls.Grid RedWarning; 134this.RedWarning = ((System.Windows.Controls.Grid)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\MS\Internal\Documents\FindToolBar.g.cs (2)
66internal System.Windows.Controls.Grid FindTextBoxGrid; 199this.FindTextBoxGrid = ((System.Windows.Controls.Grid)(target));
artifacts\obj\PresentationUI\x86\Debug\net10.0\TenFeetInstallationError.g.cs (2)
42internal System.Windows.Controls.Grid Grid_2; 142this.Grid_2 = ((System.Windows.Controls.Grid)(target));
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
677private Grid ToolBar 684_toolBar = GetTemplateChild(_toolBarName) as Grid; 2209private Grid _toolBar;
Roslyn.VisualStudio.DiagnosticsWindow (4)
PerfMargin\PerfMarginPanel.cs (4)
24private readonly Grid _mainGrid; 45Grid.SetRow(_mainListView, 0); 104Grid.SetColumn(label, 1); 152Grid.SetColumn(_detailsListView, 1);
System.Windows.Controls.Ribbon (6)
Microsoft\Windows\Controls\Ribbon\Ribbon.cs (1)
48[TemplatePart(Name = Ribbon.QatHostTemplateName, Type = typeof(Grid))]
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (3)
44[TemplatePart(Name = RibbonGroup.PopupGridTemplatePartName, Type = typeof(Grid))] 143Grid popupGrid = this.GetTemplateChild(PopupGridTemplatePartName) as Grid;
Microsoft\Windows\Controls\Ribbon\RibbonSeparator.cs (2)
159SetValue(Grid.IsSharedSizeScopeProperty, true); 160ClearValue(Grid.IsSharedSizeScopeProperty);