Version

CaptionVisible Property

Gets/sets whether the grid's caption area will be displayed. By default the caption area will be displayed if the control's Text property is not an empty string.
Syntax
'Declaration
 
Public Property CaptionVisible As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean CaptionVisible {get; set;}
Example
This snippet demonstrates how the visibility of the grid's caption area can be controlled via the CaptionVisible property on the UltraGridLayout class.

Private Sub Form1_Load(sender As Object, e As System.EventArgs)
   ' Hide the caption.
   '
   Me.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False
End Sub
private void Form1_Load(object sender, System.EventArgs e)
{	
   // Hide the caption.
   //
	this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
}
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