Skip to main content

Microsoft Silverlight

Answered Question xaml: grid questionsRSS Feed

(0)

tatman
tatman

Member

Member

4 points

9 Posts

xaml: grid questions

1) If Im using a standard grid, how can I set the background color for a single row?

 

2) I have a grid with several rows and 1 column.    In row 0, I put an image.  It gets centered.  I would like for it to be aligned to the left.  How do I do that?

 

Thnx

Matt

Skyrunner
Skyrunner

Contributor

Contributor

2489 points

485 Posts

Silverlight MVP
Answered Question

Re: xaml: grid questions

1. Just add a new Grid in the row you want, and set the background to the color you want.

2. Add HorizontalAlignment="Left" in your image markup.

tatman
tatman

Member

Member

4 points

9 Posts

Re: xaml: grid questions

 Thnx.  For some reason, these attributes are not showing up in the code completion combo boxes.

 

:)

 

Matt

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities