2 writes to _root
Microsoft.Maui.Controls (2)
Layout\FlexLayout.cs (2)
607 InitLayoutProperties(_root = new Flex.Item()); 618 _root = null;
23 references to _root
Microsoft.Maui.Controls (23)
Layout\FlexLayout.cs (23)
205 if (flexLayout._root == null) 207 flexLayout._root.Direction = (Flex.Direction)(FlexDirection)newValue; 214 if (flexLayout._root == null) 216 flexLayout._root.JustifyContent = (Flex.Justify)(FlexJustify)newValue; 223 if (flexLayout._root == null) 225 flexLayout._root.AlignContent = (Flex.AlignContent)(FlexAlignContent)newValue; 232 if (flexLayout._root == null) 234 flexLayout._root.AlignItems = (Flex.AlignItems)(FlexAlignItems)newValue; 241 if (flexLayout._root == null) 243 flexLayout._root.Position = (Flex.Position)(FlexPosition)newValue; 250 if (flexLayout._root == null) 252 flexLayout._root.Wrap = (Flex.Wrap)(FlexWrap)newValue; 484 if (_root == null) 494 var item = (child as FlexLayout)?._root ?? new Flex.Item(); 531 _root.InsertAt(index, item); 537 if (_root == null) 541 _root.Remove(item); 575 if (_root.Parent != null) //Layout is only computed at root level 586 _root.Width = !double.IsPositiveInfinity((width)) ? (float)width : 0; 587 _root.Height = !double.IsPositiveInfinity((height)) ? (float)height : 0; 588 _root.Layout(InMeasureMode); 599 if (Parent != null && _root == null) 601 else if (Parent == null && _root != null)