Click here to Skip to main content
15,916,462 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Debug/Troubleshoot WPF Binding settings Pin
Abhinav S3-Aug-10 17:04
Abhinav S3-Aug-10 17:04 
GeneralRe: Debug/Troubleshoot WPF Binding settings Pin
BRShroyer4-Aug-10 3:47
BRShroyer4-Aug-10 3:47 
GeneralRe: Debug/Troubleshoot WPF Binding settings Pin
Abhinav S4-Aug-10 18:25
Abhinav S4-Aug-10 18:25 
QuestionWPF for Windows CE 6.0 Pin
kiranpmody2-Aug-10 9:34
kiranpmody2-Aug-10 9:34 
AnswerRe: WPF for Windows CE 6.0 Pin
Pete O'Hanlon2-Aug-10 9:40
mvePete O'Hanlon2-Aug-10 9:40 
GeneralRe: WPF for Windows CE 6.0 Pin
kiranpmody2-Aug-10 9:48
kiranpmody2-Aug-10 9:48 
QuestionCannot find governing FrameworkElement or FrameworkContentElement Pin
stofel2-Aug-10 4:15
stofel2-Aug-10 4:15 
QuestionAre there any benchmarks available for measuring general WPF performance on different systems? Pin
Erik2-Aug-10 3:11
Erik2-Aug-10 3:11 
QuestionStrange error occures after writting (seemingly) working piece of xaml code in a WPF application. IDE=Visual Studio 2010 Pin
makumazan842-Aug-10 2:40
makumazan842-Aug-10 2:40 
QuestionWPF - Popup moveable? Pin
devvvy1-Aug-10 15:53
devvvy1-Aug-10 15:53 
AnswerRe: WPF - Popup moveable? Pin
Abhinav S1-Aug-10 17:11
Abhinav S1-Aug-10 17:11 
GeneralRe: WPF - Popup moveable? Pin
devvvy2-Aug-10 21:29
devvvy2-Aug-10 21:29 
QuestionVisual State Manager - What's Wrong? Pin
#realJSOP31-Jul-10 10:16
professional#realJSOP31-Jul-10 10:16 
AnswerRe: Visual State Manager - What's Wrong? Pin
Abhinav S31-Jul-10 20:35
Abhinav S31-Jul-10 20:35 
GeneralRe: Visual State Manager - What's Wrong? Pin
#realJSOP1-Aug-10 1:34
professional#realJSOP1-Aug-10 1:34 
AnswerRe: Visual State Manager - What's Wrong? Pin
Abhinav S1-Aug-10 4:01
Abhinav S1-Aug-10 4:01 
QuestionFilling out extent of margins. Pin
dbrenth29-Jul-10 9:16
dbrenth29-Jul-10 9:16 
AnswerRe: Filling out extent of margins. Pin
dbrenth29-Jul-10 9:18
dbrenth29-Jul-10 9:18 
GeneralRe: Filling out extent of margins. Pin
BRShroyer29-Jul-10 9:30
BRShroyer29-Jul-10 9:30 
GeneralRe: Filling out extent of margins. Pin
dbrenth29-Jul-10 9:32
dbrenth29-Jul-10 9:32 
AnswerRe: Filling out extent of margins. Pin
BRShroyer29-Jul-10 9:26
BRShroyer29-Jul-10 9:26 
You don't have a width specified so the Grid will shrink to be as small as possible, i.e. just wide enough to hold your controls. And it will pin itself into the bottom left corner. Your right/top margins will only be used if the controls are big enough to fill the width/height of your window.

Change HorizontalAlignment="Left" to HorizontalAlignment="Stretch" (or delete the assignment all together, stretch is the default). The grid will take up as much room as possible leaving the margins specified on each side.

Depending on how you want your controls contained to look, you might want to put a StackPanel in the Grid to hold the controls or switch the Grid to a DockPanel and dock your controls to the bottom.
Brad

Deja Moo - When you feel like you've heard the same bull before.

QuestionCreating a Binding Resource Pin
BRShroyer29-Jul-10 8:20
BRShroyer29-Jul-10 8:20 
AnswerRe: Creating a Binding Resource Pin
Abhishek Sur29-Jul-10 10:17
professionalAbhishek Sur29-Jul-10 10:17 
QuestionBinding xaml property to class property Pin
#realJSOP29-Jul-10 5:15
professional#realJSOP29-Jul-10 5:15 
AnswerRe: Binding xaml property to class property Pin
BRShroyer29-Jul-10 7:57
BRShroyer29-Jul-10 7:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.