Home Forums WinForms controls Xceed Grid for WinForms Can scrollbar width or plusminus size be changed? Reply To: Can scrollbar width or plusminus size be changed?

Xceed Support
Member
Post count: 5658

For the PlusMinus, it is one of the rare elements of the grid that is not accessible (not extensible/customizable) and cannot be modified.

For the scrollbar, you cannot directly access the width of the vertical ScrollBar.

However, there is a workaround, but we cannot give the guarantee that this will always be supported.

You can access the ScrollBars through the Controls collection of the GridControl.

<code>
//For the Vertical ScrollBar
gridControl1.Controls[ 0 ].Width = 50;
//For the Horizontal ScrollBar
gridControl1.Controls[ 1 ].Height = 50;
</code>

Imported from legacy forums. Posted by CharlesB (had 3043 views)