-
Jan 21st, 2018, 06:30 AM
#1
Thread Starter
Addicted Member
wpf and screen resolution
friends;
i'm using wpf window application
I wan't using this application with any screen resolution
what should i do;
-
Jan 21st, 2018, 06:36 AM
#2
Re: wpf and screen resolution
What makes you think you can't use it with some resolution(s)?
-
Jan 21st, 2018, 06:53 AM
#3
Thread Starter
Addicted Member
Re: wpf and screen resolution
Originally Posted by jmcilhinney
What makes you think you can't use it with some resolution(s)?
I test the application in 600*800 display bigger than screen size
window is cutted
work normal in 728* 1024 because i design my application using this resolution
-
Jan 21st, 2018, 07:28 AM
#4
Re: wpf and screen resolution
I don't understand why you need an explanation from us on that. If you want the entire form to be displayed on the screen then it should be obvious that it needs to be no bigger than that screen. If you want your form to fit on a screen that is 800*600 then the form cannot be any bigger than 800*600. That really should be obvious.
Last edited by jmcilhinney; Jan 21st, 2018 at 07:37 AM.
-
Jan 21st, 2018, 07:44 AM
#5
Thread Starter
Addicted Member
Re: wpf and screen resolution
i don't understand , what should i do
did you mean when working with wpf design and programming i use 600 *800 resolution
or what
-
Jan 21st, 2018, 07:44 AM
#6
Re: wpf and screen resolution
Are you perhaps asking, without actually asking, how to make the contents of a window reflow and/or resize when the window resizes? The specifics of that would depend on the specific form layout and the exact behaviour you want when the window resizes. I would suggest that you do some relevant web searches and do some general reading on the subject and then post back with the specifics of your situation if you still have issues, e.g.
https://www.bing.com/search?q=resize...rzPyyxHyIWK42B
Full disclosure, I haven't actually done much work with WPF so I don't have specific answers but I would be doing searches like that myself if I did want to know.
-
Jan 23rd, 2018, 11:50 AM
#7
Re: wpf and screen resolution
If you design your application with a fixed size, it's not going to fit on monitors that are smaller than that fixed size.
WPF is designed for "fluid" layout. But if you ever manually set a Width or Height property, you go against that philosophy and the elements will be the size you specifically give them.
Think about it more like web design.
This answer is wrong. You should be using TableAdapter and Dictionaries instead.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|