xaml - How to change background color of a column in grid -
- i have used following code how use color first grid column.
- how use grid lines in windows phone 8.1 grid.
<grid grid.column="0" grid.row="7" name="mgrid" margin="0,10,0,0" background="white"> <grid.rowdefinitions> <rowdefinition /> <rowdefinition /> <rowdefinition /> <rowdefinition /> <rowdefinition /> <rowdefinition /> </grid.rowdefinitions> <grid.columndefinitions > <columndefinition width="190" /> <columndefinition width="10" /> <columndefinition width="*" /> </grid.columndefinitions> </grid>
after column definitions, can create rectangle sit inside first column definition. then, using rowspan property, make appear full column.
for example:
<rectangle background="red" grid.rowspan="6"/>
Comments
Post a Comment