xaml - How to change background color of a column in grid -


  1. i have used following code how use color first grid column.
  2. 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

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -