Вопрос

I am having some trouble figuring out how exactly I resize my WPF form in blend using the visual designer. Any controls I have no issue resizing them, although with a form the only way I can do so is by setting the xaml code behind to increase it, it is the only way I can even make the form activly selected so I can do anything with it. I must be missing something crucial.

Can anyone help me out?

Это было полезно?

Решение

If you use Expression Blend 4 (as you said) you should:

  • Select the Window element in Objects and Timeline
  • In the Layout section of the Properties panel
  • Set the Width and Height as you want.
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top