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

  • Home
  • SEARCH
  • 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 524181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:32:26+00:00 2026-05-13T08:32:26+00:00

I have a TabControl and on each TabPage is a DataGridView control docked to

  • 0

I have a TabControl and on each TabPage is a DataGridView control docked to fill its own TabPage. I don’t know how, but the first grid has a Location set to 3,3 which gives it a nice margin (while still docking/filling as it should).

The other grids are set to Location = 0,0 and I can’t get them to match the first grid. If you set the Location then Dock, the Location is reset to 0,0. If you Dock, then try and set the Location to 3,3 it reverts immediately to 0,0.

  • 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-13T08:32:27+00:00Added an answer on May 13, 2026 at 8:32 am

    Have you checked the Padding settings on each TabPage and/or the TabControl? This might explain the location being set to 3,3 for the first grid.

    Also check the Margin on each DataGridView control.

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

Sidebar

Related Questions

I currently have a Form with a TabControl containing some TabPage s. Each TabPage
I have a TabControl and each Tab can contain the same UI but with
I have a WPF TabControl with two TabItems. Each TabItem contains a ListBox with
I have a page with a tab control and each control has almost 15
I have a TabControl where each tab contains a DataGrid . When the user
I have a form with a bunch of tabs on it, but I don't
I have close button in the header of each tab of TabControl. Tabs are
I have a tab-control that has 4 tab pages. Each tab page contains a
I have a TabControl. The header of each TabItem contains a StackPanel with an
I have a tabcontrol in my window, inside each tabitem I want to have

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.