locked
How to add color to column RRS feed

  • Question

  • Actually i have two columns in my application page. i want to differentiate the two columns in the page by giving color to a column. i want to apply color to margin of the column. can anybody suggest me the answer for it?
    Thursday, September 19, 2013 9:54 AM

Answers

  •  <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="200"/>
                    <ColumnDefinition Width="200"/>
                </Grid.ColumnDefinitions>
    
                <Grid Background="Red">
                    <!--put column content here-->
                </Grid>
                <Grid Background="Green"
                      Grid.Column="1">
                    <!--put column content here-->
                </Grid>
            </Grid>


    • Proposed as answer by Dave SmitsMVP Thursday, September 19, 2013 12:05 PM
    • Marked as answer by Anne Jing Wednesday, September 25, 2013 1:20 AM
    Thursday, September 19, 2013 10:40 AM