![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | How to anchor fields (like .Net 1-2). Is MinWidth/MaxWidth the answer? Hi I would like to anchor my fields in the same way as in .Net 1 and .Net 2. I have tried to work with MinWidth and MaxWidth but I cannot make it work. I know that I can acheive something similar using '*' in grid and/or use StackPanel/DockPanel, but I woud like to be able to designate a size and then let the field resize when its parent resizes Is this possible? Thanks in advance Soeren D. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to anchor fields (like .Net 1-2). Is MinWidth/MaxWidth the answer? Hi! You should use the Margin properties and set HorizontalAlignment to Stretch (VertilAlignment too) Also use the padding property of the container. Cheers, Erno "Soeren D." <nospam@nospam.com> wrote in message news:OAHE$cOLGHA.532@TK2MSFTNGP15.phx.gbl... > Hi > > I would like to anchor my fields in the same way as in .Net 1 and .Net 2. > I have tried to work with MinWidth and MaxWidth but I cannot make it work. > > I know that I can acheive something similar using '*' in grid and/or use > StackPanel/DockPanel, but I woud like to be able to designate a size and > then let the field resize when its parent resizes > > Is this possible? > > Thanks in advance > Soeren D. > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| click to url with anchor | Vista mail | |||
| Anchor listbox problem | .NET General | |||
| windows live mail and anchor links | Live Mail | |||
| HTML anchor (i.e. an ordinary link) to https://www.xxx.com No App | Vista mail | |||
| Lacie Biggest f800 a boat anchor following Vista installation | Vista hardware & devices | |||