Class SpreadsheetFileMenuBuilder<T>
Represents the class for SpreadsheetFileMenuBuilder from menu settings.
Inheritance
System.Object
SpreadsheetFileMenuBuilder<T>
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 SpreadsheetFileMenuBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetFileMenuBuilder(RibbonMenuSettings)
Declaration
public SpreadsheetFileMenuBuilder(RibbonMenuSettings menusettings)
Parameters
Type | Name | Description |
---|---|---|
RibbonMenuSettings | menusettings |
Methods
Add()
Declaration
public void Add()
ContentId(Object)
Specifies the ContentId.
Declaration
public SpreadsheetFileMenuBuilder<T> ContentId(object contentID)
Parameters
Type | Name | Description |
---|---|---|
System.Object | contentID | The contentID is file menu id. |
Returns
Type | Description |
---|---|
SpreadsheetFileMenuBuilder<T> |
Id(Object)
Specifies the datasource Id.
Declaration
public SpreadsheetFileMenuBuilder<T> Id(object id)
Parameters
Type | Name | Description |
---|---|---|
System.Object | id | The Id is file menu id. |
Returns
Type | Description |
---|---|
SpreadsheetFileMenuBuilder<T> |
ItemType(String)
Specifies the ItemType.
Declaration
public SpreadsheetFileMenuBuilder<T> ItemType(string itemType)
Parameters
Type | Name | Description |
---|---|---|
System.String | itemType | The ItemType is file menu type. |
Returns
Type | Description |
---|---|
SpreadsheetFileMenuBuilder<T> |
ParentId(Object)
Specifies the ParentId.
Declaration
public SpreadsheetFileMenuBuilder<T> ParentId(object parentId)
Parameters
Type | Name | Description |
---|---|---|
System.Object | parentId | The parentId is file menu parent id. |
Returns
Type | Description |
---|---|
SpreadsheetFileMenuBuilder<T> |
Sprite(String)
Specifies the Sprite.
Declaration
public SpreadsheetFileMenuBuilder<T> Sprite(string sprite)
Parameters
Type | Name | Description |
---|---|---|
System.String | sprite | The sprite is file menu icon. |
Returns
Type | Description |
---|---|
SpreadsheetFileMenuBuilder<T> |
Text(String)
Specifies the Text.
Declaration
public SpreadsheetFileMenuBuilder<T> Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text is file menu data. |
Returns
Type | Description |
---|---|
SpreadsheetFileMenuBuilder<T> |