Class DropDownListFieldsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class DropDownListFieldsBuilder
Constructors
DropDownListFieldsBuilder(DropDownListFields)
Specifies the mapping fields for the data items of the DropDownList.
Declaration
public DropDownListFieldsBuilder(DropDownListFields fields)
Parameters
Type | Name | Description |
---|---|---|
DropDownListFields | fields | fields |
Methods
Category(String)
Used to group the items.
Declaration
[Obsolete("Category has been deprecated. Use GroupBy property ")]
public DropDownListFieldsBuilder Category(string category)
Parameters
Type | Name | Description |
---|---|---|
System.String | category | category |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns category field value which is of string type |
GroupBy(String)
Used to group the items.
Declaration
public DropDownListFieldsBuilder GroupBy(string category)
Parameters
Type | Name | Description |
---|---|---|
System.String | category | category |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
HtmlAttributes(String)
Defines the HTML attributes such as ID, class, and styles for the item.
Declaration
public DropDownListFieldsBuilder HtmlAttributes(string htmlAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | htmlAttributes | htmlAttributes |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns object value |
ID(String)
Defines the ID for the tag.
Declaration
public DropDownListFieldsBuilder ID(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
ImageAttributes(String)
Defines the image attributes such as height, width, styles, and so on.
Declaration
public DropDownListFieldsBuilder ImageAttributes(string imageAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageAttributes | imageAttributes |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
ImageUrl(String)
Defines the imageURL for the image location.
Declaration
public DropDownListFieldsBuilder ImageUrl(string imageUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageUrl |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
Selected(String)
Defines the tag value to be selected initially.
Declaration
public DropDownListFieldsBuilder Selected(string selected)
Parameters
Type | Name | Description |
---|---|---|
System.String | selected | selected |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
SpriteCssClass(String)
Defines the sprite CSS for the image tag.
Declaration
public DropDownListFieldsBuilder SpriteCssClass(string spriteCssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | spriteCssClass | spriteCssClass |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
TableName(String)
Defines the table name for tag value or display text while rendering remote data.
Declaration
public DropDownListFieldsBuilder TableName(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | tableName |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
Text(String)
Defines the text content for the tag.
Declaration
public DropDownListFieldsBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | text |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |
Value(String)
Defines the tag value.
Declaration
public DropDownListFieldsBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | value |
Returns
Type | Description |
---|---|
DropDownListFieldsBuilder | This method returns string value |