Implemented interface member:
property
Width
Microsoft.Maui.IGridColumnDefinition.Width
23 writes to Width
Microsoft.Maui.Controls (12)
ColumnDefinitionCollectionTypeConverter.cs (1)
30
definitions[i] = new ColumnDefinition {
Width
= (GridLength)converter.ConvertFromInvariantString(lengths[i]) };
Internals\ProfilePage.cs (1)
127
new ColumnDefinition {
Width
= GridLength.Star },
Layout\AndExpandLayoutManager.cs (3)
55
ColumnDefinitions = new ColumnDefinitionCollection { new ColumnDefinition {
Width
= GridLength.Star } },
109
grid.ColumnDefinitions.Add(new ColumnDefinition {
Width
= GridLength.Star });
113
grid.ColumnDefinitions.Add(new ColumnDefinition {
Width
= GridLength.Auto });
RadioButton\RadioButton.cs (2)
470
new ColumnDefinition {
Width
= GridLength.Auto },
471
new ColumnDefinition {
Width
= GridLength.Star }
Shell\BaseShellItem.cs (5)
427
columnDefinitions.Add(new ColumnDefinition {
Width
= 54 });
429
columnDefinitions.Add(new ColumnDefinition {
Width
= 50 });
431
columnDefinitions.Add(new ColumnDefinition {
Width
= GridLength.Auto });
433
columnDefinitions.Add(new ColumnDefinition {
Width
= GridLength.Auto });
435
columnDefinitions.Add(new ColumnDefinition {
Width
= GridLength.Star });
Microsoft.Maui.Controls.Foldable (11)
TwoPaneView.cs (11)
470
columnMiddle.
Width
= new GridLength(hinge.Width, GridUnitType.Absolute);
471
columnLeft.
Width
= new GridLength(pane1.Width, GridUnitType.Absolute);
472
columnRight.
Width
= new GridLength(pane2.Width, GridUnitType.Absolute);
484
columnMiddle.
Width
= new GridLength(0, GridUnitType.Absolute);
485
columnLeft.
Width
= GridLength.Star;
486
columnRight.
Width
= new GridLength(0, GridUnitType.Absolute);
491
columnMiddle.
Width
= new GridLength(0, GridUnitType.Absolute);
496
columnLeft.
Width
= ((newMode == ViewMode.LeftRight) ? Pane1Length : Pane2Length);
497
columnRight.
Width
= ((newMode == ViewMode.LeftRight) ? Pane2Length : Pane1Length);
501
columnLeft.
Width
= new GridLength(1, GridUnitType.Star);
502
columnRight.
Width
= new GridLength(0, GridUnitType.Absolute);
26 references to Width
Microsoft.Maui.Controls (26)
ColumnDefinition.cs (2)
9
/// <summary>Bindable property for <see cref="
Width
"/>.</summary>
10
public static readonly BindableProperty WidthProperty = BindableProperty.Create(nameof(
Width
), typeof(GridLength), typeof(ColumnDefinition), GridLength.Star,
ColumnDefinitionCollectionTypeConverter.cs (1)
43
return string.Join(", ", cdc.Select(cd => converter.ConvertToInvariantString(cd.
Width
)));
LegacyLayouts\Grid.cs (1)
221
GridLength width = columnDefinitions[i].
Width
;
LegacyLayouts\GridCalc.cs (22)
68
if (!c.
Width
.IsStar)
135
if (col.
Width
.IsStar)
136
totalStarsWidth += col.
Width
.Value;
167
if (col.
Width
.IsAbsolute)
168
col.ActualWidth = col.
Width
.Value;
216
if (!col.
Width
.IsAuto)
254
if (col.
Width
.IsStar)
255
col.ActualWidth = col.
Width
.Value * starColWidth;
311
if (c.
Width
.IsAuto)
323
if (!col.
Width
.IsAuto)
383
if (!column.
Width
.IsStar)
420
if (!column.
Width
.IsStar)
425
column.ActualWidth -= delta * column.
Width
.Value;
601
if (col.
Width
.IsStar)
611
if (col.
Width
.IsStar)
612
col.ActualWidth = col.
Width
.Value * starColWidth;
657
if (!col.
Width
.IsStar)
694
if (!col.
Width
.IsStar || col.
Width
.Value == 0 || col.ActualWidth <= 0)
697
starColRequestWidth = Math.Max(starColRequestWidth, col.ActualWidth / col.
Width
.Value);
698
starColMinWidth = Math.Max(starColMinWidth, col.MinimumWidth / col.
Width
.Value);
851
if (_columns[i].
Width
.IsAuto)