Setting a location other than 0.0 when Dock = Fill

I have a TabControl and on each TabPage there is a DataGridView control that populates its own TabPage. I don’t know how, but the first grid has a “Place” value of 3.3, which gives it a good margin (while still docking / filling as it should).

Other grids are set to Location = 0.0, and I can't get them to match the first grid. If you set the location to "Dock", "Location" - reset - 0,0. If you installed the Dock, then try to set the location to 3.3, then it will immediately return to 0.0.

+3
source share
1 answer

Padding / TabControl? , 3,3 .

DataGridView.

+5

Source: https://habr.com/ru/post/1726784/


All Articles