Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3965620
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:29:21+00:00 2026-05-20T03:29:21+00:00

I am creating a portal type dashboard for our app. The controls are added

  • 0

I am creating a portal type dashboard for our app. The controls are added on the fly. I have a page, with a tabcontrol. In the tab control I add TabItems on the fly with a canvas on it. The canvas handles the mouse events to move the controls around.

I need to allow the users to create a layout bigger than the current size of the tab item… so I inserted a scrollviewer in the tab item and put the canvas onto it. However, the canvas doesn’t seem to expand automatically to contain the content.

How can I made the canvas expand to hold all its content within the scroll viewer which will allow me to scroll around the canvas it contains?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T03:29:22+00:00Added an answer on May 20, 2026 at 3:29 am

    Check these two previous SO posts on how to manipulate the size of a Canvas:

    • Force a custom WPF Control to resize correctly
    • WPF: How to make canvas auto-resize?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So far I have been creating Web Portal but recently I had a request
I'm creating web-app using JSR286, Struts2 for portlets on WebSphere Portal 6.1.5 The problem
I have created a page which is a login portal to three separate websites.
Me and my team are creating a portal on asp.net mvc. We want to
Creating an a app, where I store bunch of photos in the drawable folder,
Creating a JApplet I have 2 Text Fields, a button and a Text Area.
Portal Technology Assessment in which we will be creating a placement portal for the
What is the best way to implement a AJAX login portal? I am creating
I am creating a site which will have a desktop and a mobile theme.
i'm building a simple school portal, i have stucked at uploading an image into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.