3 instantiations of Definition
Microsoft.Maui (3)
Layouts\GridLayoutManager.cs (3)
151
new
Definition
(GridLength.Star)
170
rows[n] = new
Definition
(definition.Height);
191
definitions[n] = new
Definition
(definition.Width);
28 references to Definition
Microsoft.Maui (28)
Layouts\GridLayoutManager.cs (28)
73
Definition
[] _rows { get; }
74
Definition
[] _columns { get; }
147
static
Definition
[] Implied()
155
static
Definition
[] InitializeRows(IReadOnlyList<IGridRowDefinition> rowDefinitions)
165
var rows = new
Definition
[count];
176
static
Definition
[] InitializeColumns(IReadOnlyList<IGridColumnDefinition> columnDefinitions)
186
var definitions = new
Definition
[count];
337
static double SumDefinitions(
Definition
[] definitions, double spacing, bool minimize = false)
534
static void ResolveSpan(
Definition
[] definitions, int start, int length, double spacing, double requestedSize)
613
void ResolveStars(
Definition
[] defs, double availableSpace, Func<Cell, bool> cellCheck, Func<Size, double> dimension, double starCount)
648
foreach (
var
definition in defs)
756
static void DetermineMinimumStarSizesInSpan(double spaceNeeded,
Definition
[] definitions, int start, int end)
833
static void MinimizeStars(
Definition
[] defs)
835
foreach (
var
def in defs)
844
static void ExpandStarDefinitions(
Definition
[] definitions, double targetSize, double currentSize, double spacing, double starCount, bool limitStarSizes)
861
static void EnsureSizeLimit(
Definition
[] definitions, double starSize)
865
var
def = definitions[n];
877
static double ComputeStarSizeForTarget(double targetSize,
Definition
[] defs, double spacing, double starCount)
882
foreach (
var
def in defs)
893
static void ExpandStars(double targetSize, double currentSize,
Definition
[] defs, double targetStarSize, double starCount)
907
foreach (
var
definition in defs)
926
foreach (
var
definition in defs)
944
foreach (
var
definition in defs)
954
foreach (
var
definition in defs)
977
static bool AnyAuto(
Definition
[] definitions)
979
foreach (
var
definition in definitions)
1092
static double CountStars(
Definition
[] definitions)
1097
foreach (
var
definition in definitions)