Results 1 to 11 of 11

Thread: [RESOLVED] Auto-Resize Controls at Runtime

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2010
    Posts
    220

    Resolved [RESOLVED] Auto-Resize Controls at Runtime

    I have created a stackpanel (Dim myPanel as New StackPanel) and placed it inside a Grid with its width set to Auto. I set the width for the panel to: myPanel.Width = 500. Now when running the window in other screens the parent grid displays fine but the panel is much smaller than I want. How do I set the Width for the stackpanel sothat it resizes correctly in every screen. I guess there is no code needed in order to figure out the solution. Thanks for assisting.
    Last edited by Joacim Andersson; Aug 2nd, 2012 at 05:26 AM. Reason: Marked as resolved

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