Results 1 to 7 of 7

Thread: wpf and screen resolution

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2014
    Posts
    169

    Thumbs up 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;

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    Re: wpf and screen resolution

    What makes you think you can't use it with some resolution(s)?

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2014
    Posts
    169

    Re: wpf and screen resolution

    Quote Originally Posted by jmcilhinney View Post
    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

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    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.

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Feb 2014
    Posts
    169

    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

  6. #6
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,299

    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.

  7. #7
    You don't want to know.
    Join Date
    Aug 2010
    Posts
    4,578

    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
  •  



Click Here to Expand Forum to Full Width