Class ChipCollectionBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
ChipCollectionBuilder
Assembly: Syncfusion.EJ2.dll
public class ChipCollectionBuilder : ControlBuilder
Constructors
Declaration
public ChipCollectionBuilder()
Declaration
public ChipCollectionBuilder(List<ChipCollection> collection)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.List<ChipCollection> |
collection |
|
Methods
Declaration
Specifies the icon CSS class for the avatar in the chip.
Declaration
public ChipCollectionBuilder AvatarIconCss(string avatarIconCss)
Parameters
| Type |
Name |
Description |
| System.String |
avatarIconCss |
|
Returns
AvatarText(String)
Specifies the customized text value for the avatar in the chip.
Declaration
public ChipCollectionBuilder AvatarText(string avatarText)
Parameters
| Type |
Name |
Description |
| System.String |
avatarText |
|
Returns
Specifies the custom classes to be added to the chip element used to customize the ChipList component.
Declaration
public ChipCollectionBuilder CssClass(string cssClass)
Parameters
| Type |
Name |
Description |
| System.String |
cssClass |
|
Returns
Specifies a value that indicates whether the chip component is enabled or not.
Declaration
public ChipCollectionBuilder Enabled(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
Returns
Specifies the additional HTML attributes, such as title, styles, class, id, and name, in a key-value pair format
and appended to the chip item element of the Chip component. If both the property and equivalent HTML attributes are configured,
then the component overrides the property value with the HTML attributes.
Declaration
public ChipCollectionBuilder HtmlAttributes(object htmlAttributes)
Parameters
| Type |
Name |
Description |
| System.Object |
htmlAttributes |
|
Returns
Specifies the leading icon CSS class for the chip.
Declaration
public ChipCollectionBuilder LeadingIconCss(string leadingIconCss)
Parameters
| Type |
Name |
Description |
| System.String |
leadingIconCss |
|
Returns
Specifies the leading icon url for the chip.
Declaration
public ChipCollectionBuilder LeadingIconUrl(string leadingIconUrl)
Parameters
| Type |
Name |
Description |
| System.String |
leadingIconUrl |
|
Returns
Specifies the template content to be rendered for each individual chip item. This template allows for the rendering of custom HTML elements, such as anchor tags, SVG icons, or other components, within each chip item.
Declaration
public ChipCollectionBuilder Template(string template)
Parameters
| Type |
Name |
Description |
| System.String |
template |
|
Returns
Text(String)
Specifies the text content for the chip.
Declaration
public ChipCollectionBuilder Text(string text)
Parameters
| Type |
Name |
Description |
| System.String |
text |
|
Returns
Specifies the trailing icon CSS class for the chip.
Declaration
public ChipCollectionBuilder TrailingIconCss(string trailingIconCss)
Parameters
| Type |
Name |
Description |
| System.String |
trailingIconCss |
|
Returns
Specifies the trailing icon url for the chip.
Declaration
public ChipCollectionBuilder TrailingIconUrl(string trailingIconUrl)
Parameters
| Type |
Name |
Description |
| System.String |
trailingIconUrl |
|
Returns
Defines the value of the chip.
Declaration
public ChipCollectionBuilder Value(double value)
Parameters
| Type |
Name |
Description |
| System.Double |
value |
|
Returns
Defines the value of the chip.
Declaration
public ChipCollectionBuilder Value(string value)
Parameters
| Type |
Name |
Description |
| System.String |
value |
|
Returns