Version

Caption Property (UltraTile)

Gets or sets the text which will be displayed in the header of the UltraTile. This can be formatted text.
Syntax
'Declaration
 
Public Property Caption As String
public string Caption {get; set;}

Property Value

The text displayed in the header of the UltraTile.
Remarks

Both formatted and unformatted text can be set on this property. The type of text will be automatically detected based on the value assign.

Example
The following code demonstrates how to set the Caption of an UltraTile.

Imports System.Windows.Forms
Imports Infragistics.Win
Imports Infragistics.Win.Misc

' Get the first tile in the UltraTilePanel
Dim tile As UltraTile = Me.UltraTilePanel1.Tiles(0)

' Set the caption of the tile to formatted text.
tile.Caption = "<B>Button</B> Tile"
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.Misc;

// Get the first tile in the UltraTilePanel
UltraTile tile = this.ultraTilePanel1.Tiles[ 0 ];

// Set the caption of the tile to formatted text.
tile.Caption = "<B>Button</B> Tile";
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