Text Configuration
18 Aug 20161 minute to read
The “caption-text” attribute is used to set the caption of a Tile as a Text on initialization. The “caption-alignment” attribute is used to align the Tile text as normal on initialization. Before that we need to set true to the “caption-enabled” property. The possible position values for “caption-alignment” are as follows:
- normal
- left
- right
- center
Refer to the following code examples.
<ej:Tile runat="server" ImagePosition="Center" ImageUrl="../Content/images/tile/camera.png" TileSize="Medium" >
<CaptionTile Enabled="true" Text="Camera" Alignment="Center" />
</ej:Tile>