Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. [Message Deleted]

[Message Deleted]

Scheduled Pinned Locked Moved WCF and WF
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    krishnan s
    wrote on last edited by
    #1

    [Message Deleted]

    L C 2 Replies Last reply
    0
    • K krishnan s

      [Message Deleted]

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Have a look at the ViewBox control.

      Cheers, Karl » CodeProject 2008 MVP, CodeProject 2009 MVP My Blog | Mole's Home Page | XAML Power Toys Home Page

      Just a grain of sand on the worlds beaches.

      K 1 Reply Last reply
      0
      • K krishnan s

        [Message Deleted]

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        The best way to do this is to lay out your grid using * notation, so that each control is given a percentage of the grid, not a fixed size. You do this in your column and row definitions. Specify width and height using things like *, 4* and 1.5* to give percentages.

        Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

        1 Reply Last reply
        0
        • L Lost User

          Have a look at the ViewBox control.

          Cheers, Karl » CodeProject 2008 MVP, CodeProject 2009 MVP My Blog | Mole's Home Page | XAML Power Toys Home Page

          Just a grain of sand on the worlds beaches.

          K Offline
          K Offline
          kris1469
          wrote on last edited by
          #4

          Hi. Can u please tell me the difference between the grid panel usage and viewbox control with respect to stretching based on the resolution. As both seems to expand its child controls based on the resolution, except that for viewbox we can have only one child. Thanks.

          L 1 Reply Last reply
          0
          • K kris1469

            Hi. Can u please tell me the difference between the grid panel usage and viewbox control with respect to stretching based on the resolution. As both seems to expand its child controls based on the resolution, except that for viewbox we can have only one child. Thanks.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            I would strongly suggest reading the MSDN documentation on ViewBox. After you have a look at this repost questions you have. Another suggestion is to write a simple application that only consists of layout, no code, etc. Then compare the approaches, ViewBox and Grid layouts. ViewBox will automatically scale text size, where Grid layouts scale space but not font sizes.

            Cheers, Karl » CodeProject 2008 MVP, CodeProject 2009 MVP My Blog | Mole's Home Page | XAML Power Toys Home Page

            Just a grain of sand on the worlds beaches.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups