Expand description
<Grid> in .yui — WPF’s Grid: rows and columns, children placed in
cells with attached Grid.Row / Grid.Column / Grid.RowSpan /
Grid.ColumnSpan.
<Grid rows="Auto,*,26" columns="160,*" row_spacing="2" column_spacing="4">
<Label Grid.ColumnSpan="2" text="Title"/>
<ScrollView Grid.Row="1"/>
<Label Grid.Row="1" Grid.Column="1" text="Details" valign="top"/>
</Grid>Definitions with limits use WPF’s property-element form:
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition width="2*" min_width="80"/>
<ColumnDefinition width="*" max_width="200"/>
</Grid.ColumnDefinitions>
</Grid>normalize runs on the parsed document before any generator: it
checks all of this and turns it into builder calls (raw-call attributes),
so the screen, view-model and component generators need no Grid logic.
Functions§
- normalize
- Checks and lowers every
<Grid>andGrid.*attached property underel(see the module docs).