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

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

amazon web services - When using Cognito credentials with AWS in a browser (javascript), keep getting "missing credentials" error -

c# - How to set the datatextfield value instead of the value on a drop down list? -