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 6354685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T22:37:01+00:00 2026-05-24T22:37:01+00:00

In my application I always want hscrollbar.LargeChange to equal panel.Width . Currently I set

  • 0

In my application I always want hscrollbar.LargeChange to equal panel.Width. Currently I set hscrollbar.LargeChange to panel.Widthin resizing events, painting events, et cetera. I do not know much about binding so I’m wondering if it is possible to do this.

Sorry if this is a simple question but when I tried googling binding and c# I got a lot of complicated information about other platforms.

  • 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-24T22:37:02+00:00Added an answer on May 24, 2026 at 10:37 pm

    Actually, there is a way to bind the LargeChange property of the HScrollBar to the Width property of the panel, but I think I’ve just discovered a bug in .NET 4 with regards to this as it works if I target .NET 3.5.

    Basically, you need to manually create a Binding object and assign it to the HScrollBar’s DataBindings collection, like so:

    hScrollBar1.DataBindings.Add(new Binding("LargeChange", panel1, "Size.Width", true, DataSourceUpdateMode.OnPropertyChanged));
    

    Again, this doesn’t work in .NET 4, but it does in .NET 3.5. I’ll probably submit a bug report.

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to set the application language in iTunes. It always shows only English,
When debugging I always want Delphi to open my application in the second monitor
For my C# app, I don't want to always prompt for elevation on application
I want to use a service in my Grails application. However, it is always
i want to make application is always run in background even when we pulled
I have MVC3 application with SSL. I want particular page URL should always add
I want to always Focus on a specific TextBox on my WPF application whenever
I'm writing an application for an Android Tablet. I want the ScreenOrientation always to
I want to build realtime application using java. The web application always request data
How do I make my application always use English when displaying win32/.net exceptions messages?

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.