Text Configuration in EJ 1 ASP.NET MVC Tile
5 Oct 2015 / 1 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")
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page