2 types derived from Grid
Microsoft.Maui.Controls (1)
Layout\AndExpandLayoutManager.cs (1)
125
class AndExpandGrid :
Grid
Microsoft.Maui.Controls.Foldable (1)
TwoPaneView.cs (1)
23
public partial class TwoPaneView :
Grid
5 instantiations of Grid
Microsoft.Maui.Controls (5)
Internals\ProfilePage.cs (2)
116
var controls = new
Grid
();
120
var grid = new
Grid
RadioButton\RadioButton.cs (1)
464
var grid = new
Grid
Shell\BaseShellItem.cs (1)
355
var grid = new
Grid
()
TitleBar\TitleBar.cs (1)
335
var contentGrid = new
Grid
()
47 references to Grid
Microsoft.Maui.Controls (45)
Internals\ProfilePage.cs (2)
116
var
controls = new Grid();
120
var
grid = new Grid
Layout\AndExpandLayoutManager.cs (2)
53
Grid
grid = new AndExpandGrid(stackLayout)
90
Grid
grid = new AndExpandGrid(stackLayout)
Layout\Grid.cs (14)
16
typeof(ColumnDefinitionCollection), typeof(
Grid
), null, validateValue: (bindable, value) => value != null,
20
colDef.ItemSizeChanged += ((
Grid
)bindable).DefinitionsChanged;
26
typeof(RowDefinitionCollection), typeof(
Grid
), null, validateValue: (bindable, value) => value != null,
30
rowDef.ItemSizeChanged += ((
Grid
)bindable).DefinitionsChanged;
36
typeof(
Grid
), 0d, propertyChanged: Invalidate);
40
typeof(
Grid
), 0d, propertyChanged: Invalidate);
46
typeof(int), typeof(
Grid
), default(int), validateValue: (bindable, value) => (int)value >= 0,
51
typeof(int), typeof(
Grid
), 1, validateValue: (bindable, value) => (int)value >= 1,
56
typeof(int), typeof(
Grid
), default(int), validateValue: (bindable, value) => (int)value >= 0,
61
typeof(int), typeof(
Grid
), 1, validateValue: (bindable, value) => (int)value >= 1,
299
var
gridLayout = (
Grid
)bindable;
324
if (bindable is
Grid
grid)
328
else if (bindable is Element element && element.Parent is
Grid
parentGrid)
Layout\GridExtensions.cs (14)
9
/// Adds an <see cref="IView" /> to the <see cref="
Grid
"/> at the specified column and row with a row span of 1 and a column span of 1.
11
/// <param name="grid">The <see cref="
Grid
"/> to which the <see cref="IView" /> will be added.</param>
19
/// <remarks>If the <see cref="
Grid
"/> does not have enough rows/columns to encompass the specified location, they will be added.</remarks>
20
public static void Add(this
Grid
grid, IView view, int column = 0, int row = 0)
26
/// Adds an <see cref="IView" /> to the <see cref="
Grid
"/> at the specified row and column spans.
28
/// <param name="grid">The <see cref="
Grid
"/> to which the <see cref="IView" /> will be added.</param>
39
/// <remarks>If the <see cref="
Grid
"/> does not have enough rows/columns to encompass the specified spans, they will be added.</remarks>
41
public static void Add(this
Grid
grid, IView view, int left, int right, int top, int bottom)
47
/// Adds an <see cref="IView" /> to the the <see cref="
Grid
"/> at the specified row and column with the specified row and column spans.
49
/// <param name="grid">The <see cref="
Grid
"/> to which the <see cref="IView" /> will be added.</param>
59
/// <remarks>If the <see cref="
Grid
"/> does not have enough rows/columns to encompass the specified spans, they will be added.</remarks>
60
public static void AddWithSpan(this
Grid
grid, IView view, int row = 0, int column = 0, int rowSpan = 1, int columnSpan = 1)
84
static void EnsureRows(
Grid
grid, int rows)
99
static void EnsureColumns(
Grid
grid, int columns)
Properties\AssemblyInfo.cs (4)
100
[assembly: StyleProperty("column-gap", typeof(
Grid
), nameof(
Grid
.ColumnSpacingProperty))]
120
[assembly: StyleProperty("row-gap", typeof(
Grid
), nameof(
Grid
.RowSpacingProperty))]
RadioButton\RadioButton.cs (1)
464
var
grid = new Grid
Shell\BaseShellItem.cs (7)
313
static void UpdateFlyoutItemStyles(
Grid
flyoutItemCell, IStyleSelectable source)
355
var
grid = new Grid()
381
var defaultGridClass = new Style(typeof(
Grid
))
419
defaultGridClass.Setters.Add(new Setter { Property =
Grid
.HeightRequestProperty, Value = 50 });
421
defaultGridClass.Setters.Add(new Setter { Property =
Grid
.HeightRequestProperty, Value = 44 });
436
defaultGridClass.Setters.Add(new Setter { Property =
Grid
.ColumnDefinitionsProperty, Value = columnDefinitions });
534
if (sender is
Grid
g)
TitleBar\TitleBar.cs (1)
335
var
contentGrid = new Grid()
Microsoft.Maui.Controls.Foldable (2)
TwoPaneView.cs (2)
633
Grid
.SetColumn(bo, column);
634
Grid
.SetRow(bo, row);