Class RibbonMenuSettingsBuilder<T>
Represents the class for MenuSettings from ribbon settings.
Inheritance
System.Object
RibbonMenuSettingsBuilder<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 RibbonMenuSettingsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
RibbonMenuSettingsBuilder(RibbonMenuSettings)
Initializes a new instance of the Syncfusion.JavaScript.MenuSettingsBuilder`1 class.
Declaration
public RibbonMenuSettingsBuilder(RibbonMenuSettings ribbonMenuSetting)
Parameters
Type | Name | Description |
---|---|---|
RibbonMenuSettings | ribbonMenuSetting |
Methods
DataSource(Action<SpreadsheetFileMenuBuilder<T>>)
Specifies the DataSource for file menu datasource in menu Settings.
Declaration
public RibbonMenuSettingsBuilder<T> DataSource(Action<SpreadsheetFileMenuBuilder<T>> ribbonMenuSettings)
Parameters
Type | Name | Description |
---|---|---|
System.Action<SpreadsheetFileMenuBuilder<T>> | ribbonMenuSettings |
Returns
Type | Description |
---|---|
RibbonMenuSettingsBuilder<T> |
DataSource(List<FileMenuDataSource>)
Specifies the DataSource for file menu datasource from ribbon Settings.
Declaration
public RibbonMenuSettingsBuilder<T> DataSource(List<FileMenuDataSource> dataSource)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<FileMenuDataSource> | dataSource | The DataSource for file menu datasource from ribbon Settings. |
Returns
Type | Description |
---|---|
RibbonMenuSettingsBuilder<T> |
IsAppend(Boolean)
Specifies the IsAppend in menusettings option from ribbon settings.
Declaration
public RibbonMenuSettingsBuilder<T> IsAppend(bool isAppend)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isAppend | The isAppend is to set the file menu datasource. |
Returns
Type | Description |
---|---|
RibbonMenuSettingsBuilder<T> |