Text Configuration
5 Oct 20151 minute to read
ShowText property is used to show or hide the Tile caption. By default, the ShowText property is to true on initialization.Text property is used to set the caption of a Tile as a Text on initialization. TextAlignment property is used to align the Tile text as Normal on initialization. The possible position values for TextAlignment are as follows:
- Normal
- Left
- Right
- Center
Refer to the following code examples.
@Html.EJ().Tile("tile").Text("Camera").TextAlignment(TextAlignment.Center).ImagePosition(TileImagePosition.Center).TileSize(TileSize.Medium).ImageUrl("http://js.syncfusion.com/UG/web/Content/tile/camera.png")