Class MenuFieldsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class MenuFieldsBuilder
Constructors
MenuFieldsBuilder(MenuFields)
Initializes a new instance of the MenuFieldsBuilder class.
Declaration
public MenuFieldsBuilder(MenuFields fields)
Parameters
Type | Name | Description |
---|---|---|
MenuFields | fields |
Methods
Child(Action<MenuFieldsBuilder>)
Menu field child.
Declaration
public MenuFieldsBuilder Child(Action<MenuFieldsBuilder> child)
Parameters
Type | Name | Description |
---|---|---|
System.Action<MenuFieldsBuilder> | child | child |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns menu field builder value |
Datasource(DataSource)
Menu field datasource.
Declaration
public MenuFieldsBuilder Datasource(DataSource dataSource)
Parameters
Type | Name | Description |
---|---|---|
DataSource | dataSource | dataSource |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns object value |
Datasource(Action<DataSourceBuilder>)
Menu field datasource.
Declaration
public MenuFieldsBuilder Datasource(Action<DataSourceBuilder> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Action<DataSourceBuilder> | dataSource | dataSource |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns object value |
Datasource(IEnumerable)
Menu field datasource.
Declaration
public MenuFieldsBuilder Datasource(IEnumerable dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.IEnumerable | dataSource | dataSource |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns object value |
Expanded(String)
Menu field expanded.
Declaration
public MenuFieldsBuilder Expanded(string expanded)
Parameters
Type | Name | Description |
---|---|---|
System.String | expanded | expanded |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
HasChild(String)
Menu field has child.
Declaration
public MenuFieldsBuilder HasChild(string hasChild)
Parameters
Type | Name | Description |
---|---|---|
System.String | hasChild | hasChild |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method string object value |
HtmlAttribute(String)
Menu field html attribute.
Declaration
public MenuFieldsBuilder HtmlAttribute(string htmlAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | htmlAttribute | htmlAttribute |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
Id(String)
Menu field identifier.
Declaration
public MenuFieldsBuilder Id(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | id |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
ImageAttribute(String)
Menu field iamge attribute.
Declaration
public MenuFieldsBuilder ImageAttribute(string imageAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageAttribute | imageAttribute |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
ImageUrl(String)
Menu field image url.
Declaration
public MenuFieldsBuilder ImageUrl(string imageUrl)
Parameters
Type | Name | Description |
---|---|---|
System.String | imageUrl | imageUrl |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
IsChecked(String)
Menu field is checked.
Declaration
public MenuFieldsBuilder IsChecked(string isChecked)
Parameters
Type | Name | Description |
---|---|---|
System.String | isChecked | isChecked |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
LinkAttribute(String)
Menu field link attribute.
Declaration
public MenuFieldsBuilder LinkAttribute(string linkAttribute)
Parameters
Type | Name | Description |
---|---|---|
System.String | linkAttribute | linkAttribute |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
ParentId(String)
Menu field parent identifier.
Declaration
public MenuFieldsBuilder ParentId(string parentId)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentId | parentId |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
Query(String)
Menu field query.
Declaration
public MenuFieldsBuilder Query(string query)
Parameters
Type | Name | Description |
---|---|---|
System.String | query | query |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
Selected(String)
Menu field selected.
Declaration
public MenuFieldsBuilder Selected(string selected)
Parameters
Type | Name | Description |
---|---|---|
System.String | selected | selected |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
SpriteCssClass(String)
Menu field sprite css class.
Declaration
public MenuFieldsBuilder SpriteCssClass(string spriteCssClass)
Parameters
Type | Name | Description |
---|---|---|
System.String | spriteCssClass | spriteCssClass |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
TableName(String)
Menu field table name.
Declaration
public MenuFieldsBuilder TableName(string tableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | tableName | tableName |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
Text(String)
Menu field text.
Declaration
public MenuFieldsBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | text |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
Url(String)
Menu field url.
Declaration
public MenuFieldsBuilder Url(string url)
Parameters
Type | Name | Description |
---|---|---|
System.String | url | url |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |
Value(String)
Menu field value.
Declaration
public MenuFieldsBuilder Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | value |
Returns
Type | Description |
---|---|
MenuFieldsBuilder | This method returns string value |