Class TileBadgeBuilder
Represents a class for TileBadgeBuilder which includes position, enabled, max value, min value, and text properties.
Inheritance
System.Object
TileBadgeBuilder
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 TileBadgeBuilder
Constructors
TileBadgeBuilder(TilePropertiesBase)
Section for badge specific functionalities and it represents the notification for Tile items.
Declaration
public TileBadgeBuilder(TilePropertiesBase wTileModel)
Parameters
Type | Name | Description |
---|---|---|
TilePropertiesBase | wTileModel |
Methods
Enabled(Boolean)
Specifies whether to enable badge or not.
Declaration
public TileBadgeBuilder Enabled(bool enableBadge)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableBadge |
Returns
Type | Description |
---|---|
TileBadgeBuilder |
MaxValue(Double)
Specifies maximum value for tile badge.
Declaration
public TileBadgeBuilder MaxValue(double maximumBadgeValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | maximumBadgeValue |
Returns
Type | Description |
---|---|
TileBadgeBuilder |
MinValue(Double)
Specifies minimum value for tile badge.
Declaration
public TileBadgeBuilder MinValue(double minimumBadgeValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | minimumBadgeValue |
Returns
Type | Description |
---|---|
TileBadgeBuilder |
Position(TileBadgePosition)
Sets position for tile badge.
Declaration
public TileBadgeBuilder Position(TileBadgePosition position)
Parameters
Type | Name | Description |
---|---|---|
TileBadgePosition | position |
Returns
Type | Description |
---|---|
TileBadgeBuilder |
Text(String)
Specifies text instead of number for tile badge.
Declaration
public TileBadgeBuilder Text(string badgeText)
Parameters
Type | Name | Description |
---|---|---|
System.String | badgeText |
Returns
Type | Description |
---|---|
TileBadgeBuilder |
Value(Double)
Sets value for tile badge.
Declaration
public TileBadgeBuilder Value(double badgeValue)
Parameters
Type | Name | Description |
---|---|---|
System.Double | badgeValue |
Returns
Type | Description |
---|---|
TileBadgeBuilder |