WP7 usercontrol - change control width when orientation changes?

You should set the HorizontalAlignment and HorizontalContentAlignment to HorizontalAlignment . Stretch for the ListBoxItems which have your control. In addition, set the design width/design height of your control.

Where you are placing this control, that you are not mentioned . I think you are placing this control inside a Phone page ; like placing any other control. If so better you manage orientation related stuffs in that page( Container page ) instead of making adjustment in the control.

I Think this will solve your issue.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions