Version

SplitterBarWidth Property

The width of the splitterbars based on the splitter border style (read-only)
Syntax
'Declaration
 
Public ReadOnly Property SplitterBarWidth As Integer
public int SplitterBarWidth {get;}
Example
SplitterBarWidth property indicates the width of the spliiter bars that seperate split scroll regions. This can be useful for calculating scroll region origins.

Imports Infragistics.Shared
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinGrid
Imports System.Diagnostics

   Private Sub Button39_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button39.Click

       ' Write out the spliiter bar width.
       Debug.WriteLine("Splitter bar width = " & Me.ultraGrid1.DisplayLayout.SplitterBarWidth.ToString())

   End Sub
using Infragistics.Shared;
using Infragistics.Win;
using Infragistics.Win.UltraWinGrid;
using System.Diagnostics;

private void button39_Click(object sender, System.EventArgs e)
{

	// Write out the spliiter bar width.
	Debug.WriteLine( "Splitter bar width = " + this.ultraGrid1.DisplayLayout.SplitterBarWidth.ToString( ) );

}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also