23 instantiations of ColumnDefinition
Microsoft.Maui.Controls (20)
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 });
Layout\GridExtensions.cs (1)
110 grid.ColumnDefinitions.Add(new ColumnDefinition());
LegacyLayouts\GridCalc.cs (1)
513 _columns.Add(new ColumnDefinition());
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 });
TitleBar\TitleBar.cs (6)
343 new ColumnDefinition(GridLength.Auto), // Leading content 344 new ColumnDefinition(GridLength.Auto), // Icon content 345 new ColumnDefinition(GridLength.Auto), // Title content 346 new ColumnDefinition(GridLength.Auto), // Subtitle content 347 new ColumnDefinition(GridLength.Star), // Content 348 new ColumnDefinition(GridLength.Auto), // Trailing content
Microsoft.Maui.Controls.Foldable (3)
TwoPaneView.cs (3)
242 ColumnDefinitions = new ColumnDefinitionCollection() { new ColumnDefinition(), new ColumnDefinition(), new ColumnDefinition() };
34 references to ColumnDefinition
Microsoft.Maui.Controls (31)
ColumnDefinition.cs (2)
10 public static readonly BindableProperty WidthProperty = BindableProperty.Create(nameof(Width), typeof(GridLength), typeof(ColumnDefinition), GridLength.Star, 11 propertyChanged: (bindable, oldValue, newValue) => ((ColumnDefinition)bindable).OnSizeChanged());
ColumnDefinitionCollection.cs (2)
5 public sealed class ColumnDefinitionCollection : DefinitionCollection<ColumnDefinition> 11 public ColumnDefinitionCollection(params ColumnDefinition[] definitions) : base(definitions)
ColumnDefinitionCollectionTypeConverter.cs (1)
28 var definitions = new ColumnDefinition[lengths.Length];
Layout\Grid.cs (2)
115 ReadOnlyCastingList<IGridColumnDefinition, ColumnDefinition> _colDefs; 190 public void AddColumnDefinition(ColumnDefinition gridColumnDefinition)
LegacyLayouts\Grid.cs (2)
215 List<ColumnDefinition> columnDefinitions = structure.Columns; 287 ColumnDefinition coldef = colDefs[i];
LegacyLayouts\GridCalc.cs (22)
66 ColumnDefinition c = structure.Columns[index]; 95 List<ColumnDefinition> _columns = new List<ColumnDefinition>(); 100 public List<ColumnDefinition> Columns => _columns; 134 ColumnDefinition col = _columns[index]; 166 ColumnDefinition col = _columns[index]; 215 ColumnDefinition col = _columns[i]; 253 ColumnDefinition col = _columns[index]; 271 ColumnDefinition c = _columns[index]; 310 ColumnDefinition c = _columns[index]; 322 ColumnDefinition col = _columns[index]; 381 var column = _columns[n]; 419 ColumnDefinition column = _columns[index]; 493 _columns = grid.ColumnDefinitions == null ? new List<ColumnDefinition>() : grid.ColumnDefinitions.ToList(); 519 ColumnDefinition col = _columns[index]; 538 ColumnDefinition col = GetLastAutoColumn(child); 600 ColumnDefinition col = _columns[index]; 610 ColumnDefinition col = _columns[index]; 656 ColumnDefinition col = _columns[i]; 693 ColumnDefinition col = _columns[index]; 774 ColumnDefinition col = _columns[index]; 846 ColumnDefinition GetLastAutoColumn(BindableObject child)
Microsoft.Maui.Controls.Foldable (3)
TwoPaneView.cs (3)
449 var columnLeft = ColumnDefinitions[0]; 450 var columnMiddle = ColumnDefinitions[1]; 451 var columnRight = ColumnDefinitions[2];