SharpDevelop Community

Get your problems solved!
Welcome to SharpDevelop Community Sign in | Join | Help
in Search

Howto set size of controls to "auto"?

Last post 09-30-2008 1:30 PM by DanielGrunwald. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-30-2008 11:17 AM

    Howto set size of controls to "auto"?

    Hi,

    I'm just doing my first experiments with wpf.

    In the web I found, that to let a control fill its container you have to set its V/H-size to "auto". I tried that in Kaxaml and it seems to work.

    How can I do this in the wpf designer? The up/down controls to set size only accept numbers, AFAICS...

     

    Thanks

  • 09-30-2008 1:30 PM In reply to

    Re: Howto set size of controls to "auto"?

    Looks like a bug, entering "Auto" should work.

    As a workaround, you can enter "NaN" or right click on the property name and choose Reset.

    Daniel Grunwald
Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems
Don't contact us via this (fleischfalle@alphasierrapapa.com) email address.