Class SpreadsheetSelectionOptionsBuilder<T>
Specifies the class for selection option which includes selection type, unit, enableAnimation, animation time and animation type properties.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class SpreadsheetSelectionOptionsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetSelectionOptionsBuilder(SpreadsheetSelectionSettings)
Initializes a new instance of the SpreadsheetSelectionOptionsBuilder<T> with the specified selection settings.
Declaration
public SpreadsheetSelectionOptionsBuilder(SpreadsheetSelectionSettings selection)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetSelectionSettings | selection | The selection using Selectionsettings object. |
Methods
ActiveCell(String)
Specifies the active cell.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> ActiveCell(string activeCell)
Parameters
Type | Name | Description |
---|---|---|
System.String | activeCell | The active cell. |
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |
AnimationTime(Double)
Specifies the animation time.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> AnimationTime(double animationTime)
Parameters
Type | Name | Description |
---|---|---|
System.Double | animationTime | The time of animation. |
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |
AnimationType(String)
Specifies the type of animation.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> AnimationType(string animationType)
Parameters
Type | Name | Description |
---|---|---|
System.String | animationType | The type of animation. |
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |
EnableAnimation()
Specifies the EnableAnimation as true.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> EnableAnimation()
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |
EnableAnimation(Boolean)
Specifies to indicate whether the animation is enable or not for selection.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> EnableAnimation(bool enableAnimation)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableAnimation | true if the animation for selection is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |
SelectionType(SpreadsheetSelectionType)
Specifies the type of selection.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> SelectionType(SpreadsheetSelectionType selectionType)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetSelectionType | selectionType | The selection type using SelectionType. It has enum type. |
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |
SelectionUnit(SpreadsheetSelectionUnit)
Specifies the selection unit.
Declaration
public SpreadsheetSelectionOptionsBuilder<T> SelectionUnit(SpreadsheetSelectionUnit selectionUnit)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetSelectionUnit | selectionUnit | The selection unit using SelectionUnit enum type. |
Returns
Type | Description |
---|---|
SpreadsheetSelectionOptionsBuilder<T> |