Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
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.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - Fit (expand) Controlsize to Window Size

 
 
Old 01-30-2007   #1 (permalink)
Horst Klein


 
 

Fit (expand) Controlsize to Window Size

How can I tell a control to resize its size to the WindowSize in XAML?
Not by code?
Best regards Horst

My System SpecsSystem Spec
Old 01-30-2007   #2 (permalink)
Stoitcho Goutsev \(100\)


 
 

Re: Fit (expand) Controlsize to Window Size

Horst Klein,

If you want a full screen application where it covers the taskbar as well
what you need to do is to make the windows maximized and borderless. This
works for winforms as well as for WPF.

"Horst Klein" <HorstKlein@discussions.microsoft.com> wrote in message
news:8849EE57-B0C1-48C4-841A-5A13E38DE4F9@microsoft.com...
> How can I tell a control to resize its size to the WindowSize in XAML?
> Not by code?
> Best regards Horst



My System SpecsSystem Spec
Old 01-30-2007   #3 (permalink)
Horst Klein


 
 

Re: Fit (expand) Controlsize to Window Size

Hi Stoitcho

I found how to do it.
Tricky ;-)

In MS Blend (Beta2) :Contextmenu "Autosize/Fill"
or in XAML: remove all Size Properties (Margin, Height,...)

Best regards
Horst
My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Expand emails to full size Vista mail
Expand vertical size of Start window? Vista General
Help - How to expand character size on Windows Live Mail Live Mail
Window size Vista mail
Folder expand icon size Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46