Class TileCaptionBuilder
Represents a class for TileCaptionBuilder which includes text, icon, position, and alignment properties.
Inheritance
System.Object
TileCaptionBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TileCaptionBuilder
Constructors
TileCaptionBuilder(TilePropertiesBase)
Specifies TileCaptionBuilder.
Declaration
public TileCaptionBuilder(TilePropertiesBase wTileModel)
Parameters
Type | Name | Description |
---|---|---|
TilePropertiesBase | wTileModel |
Methods
Alignment(TextAlignment)
It is used to align the text of a tile.
Declaration
public TileCaptionBuilder Alignment(TextAlignment alignment)
Parameters
Type | Name | Description |
---|---|---|
TextAlignment | alignment |
Returns
Type | Description |
---|---|
TileCaptionBuilder |
Enabled(Boolean)
Specifies whether badgeBuilder enabled or not.
Declaration
public TileCaptionBuilder Enabled(bool enable)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enable |
Returns
Type | Description |
---|---|
TileCaptionBuilder |
Icon(String)
sets the icon instead of text.
Declaration
public TileCaptionBuilder Icon(string icon)
Parameters
Type | Name | Description |
---|---|---|
System.String | icon |
Returns
Type | Description |
---|---|
TileCaptionBuilder |
Position(TileCaptionPosition)
It is used to specify the caption position like Inner top, inner bottom and outer.
Declaration
public TileCaptionBuilder Position(TileCaptionPosition position)
Parameters
Type | Name | Description |
---|---|---|
TileCaptionPosition | position |
Returns
Type | Description |
---|---|
TileCaptionBuilder |
Text(String)
CaptionModel text of a tile.
Declaration
public TileCaptionBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text |
Returns
Type | Description |
---|---|
TileCaptionBuilder |