Class SpreadsheetRibbonOptionsBuilder<T>
Specifies class for Ribbon settings which includes application tab and enable on demand properties.
Inheritance
System.Object
SpreadsheetRibbonOptionsBuilder<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 SpreadsheetRibbonOptionsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetRibbonOptionsBuilder(SpreadsheetRibbonSettings)
Initializes a new instance of the SpreadsheetRibbonOptionsBuilder<T> class.
Declaration
public SpreadsheetRibbonOptionsBuilder(SpreadsheetRibbonSettings options)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetRibbonSettings | options | The ribbon settings. |
Methods
ApplicationTabOption(ApplicationTabOption)
Specifies the ApplicationTabOption for ribbon Settings.
Declaration
public SpreadsheetRibbonOptionsBuilder<T> ApplicationTabOption(ApplicationTabOption tabOptions)
Parameters
Type | Name | Description |
---|---|---|
ApplicationTabOption | tabOptions | The application Tab Options from ribbon settings. |
Returns
Type | Description |
---|---|
SpreadsheetRibbonOptionsBuilder<T> |
ApplicationTabOption(Action<ApplicationTabOptionBuilder<T>>)
Specifies the ApplicationTabOption for ribbon Settings.
Declaration
public SpreadsheetRibbonOptionsBuilder<T> ApplicationTabOption(Action<ApplicationTabOptionBuilder<T>> applicationTabOptions)
Parameters
Type | Name | Description |
---|---|---|
System.Action<ApplicationTabOptionBuilder<T>> | applicationTabOptions | The application Tab Options from ribbon settings. |
Returns
Type | Description |
---|---|
SpreadsheetRibbonOptionsBuilder<T> |
EnableOnDemand()
Specifies to activate the EnableOnDemand.
Declaration
public SpreadsheetRibbonOptionsBuilder<T> EnableOnDemand()
Returns
Type | Description |
---|---|
SpreadsheetRibbonOptionsBuilder<T> |
EnableOnDemand(Boolean)
Specifies to indicate whether the enableOnDemand as false or not.
Declaration
public SpreadsheetRibbonOptionsBuilder<T> EnableOnDemand(bool enableOnDemand)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableOnDemand | true if the enableOnDemand as false; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetRibbonOptionsBuilder<T> |