Version

RowSelectorStyle Property

Gets/sets the visual style of the row selectors.
Syntax
'Declaration
 
Public Property RowSelectorStyle As Infragistics.Win.HeaderStyle
public Infragistics.Win.HeaderStyle RowSelectorStyle {get; set;}
Example
This snippet shows how you can customize the visual style of the grid's column headers and row selectors.

Private Sub SetupGrid()   
   ' Set the HeaderStyle to 'WindowsXPCommand' so that the column headers and row selectors will 
   ' have a 3D look with an orange hottracking border on all sides.
   '
   Me.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand
   
   ' Make sure that the row selectors are displayed.
   '
   Me.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True
   
   ' You can override the style set on the HeaderStyle property by explicitly setting the 
   ' RowSelectorStyle property.  In this case, the row selectors will display the 'XPThemed'
   ' style while the column headers use the 'WindowsXPCommand' style.
   '
   Me.ultraGrid1.DisplayLayout.Override.RowSelectorStyle = Infragistics.Win.HeaderStyle.XPThemed
End Sub
private void SetupGrid()
{
	// Set the HeaderStyle to 'WindowsXPCommand' so that the column headers and row selectors will 
	// have a 3D look with an orange hottracking border on all sides.
	this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;

	// Make sure that the row selectors are displayed.
	this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;

	// You can override the style set on the HeaderStyle property by explicitly setting the 
	// RowSelectorStyle property.  In this case, the row selectors will display the 'XPThemed'
	// style while the column headers use the 'WindowsXPCommand' style.
	this.ultraGrid1.DisplayLayout.Override.RowSelectorStyle = Infragistics.Win.HeaderStyle.XPThemed;
}
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