Skip to content
Jean-Philippe Bruyère edited this page Oct 26, 2021 · 3 revisions

Simple grid container Allow symetric placement of children on a grid, excedental child (above grid sizing) are ignored and invisible child keep their place in the grid

namespace: Crow

Inheritance Hierarchy

  • Grid

Syntax

public class Grid : Group

Constructors

prototype description
Grid (Interface iface) __

Properties

name description
ArrangeChildren __
CaseHeight __
CaseWidth __
ColumnCount __
RowCount __
Spacing __

Methods

prototype description
void ChildrenLayoutingConstraints(ILayoutable layoutable, ref LayoutingType layoutType) Used to prevent some layouting type in children. For example, in the GenericStack, x layouting is dismissed in the direction of the stacking to let the parent arrange children in the x direction.
void ComputeChildrenPositions() __
void OnChildLayoutChanges(object sender, LayoutingEventArgs arg) __
bool UpdateLayout(LayoutingType layoutType) Update layout component only one at a time, this is where the computation of alignement and size take place. The redrawing will only be triggered if final slot size has changed

Events

name description
Clone this wiki locally