Class SelectionSettingsModel
Class that defines selection settings model.
Inheritance
System.Object
SelectionSettingsModel
Implements
System.IEquatable<SelectionSettingsModel>
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class SelectionSettingsModel : Object, IEquatable<SelectionSettingsModel>
Constructors
SelectionSettingsModel()
Declaration
public SelectionSettingsModel()
Properties
CellSelectionMode
To define selection mode of cell.
Declaration
public CellSelectionMode CellSelectionMode { get; set; }
Property Value
Type | Description |
---|---|
CellSelectionMode |
EnableToggle
If 'enableToggle' set to true, then the user can able to perform toggle for the selected row.
Declaration
public bool EnableToggle { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Mode
Gantt supports row, cell, and both (row and cell) selection mode.
Declaration
public SelectionMode Mode { get; set; }
Property Value
Type | Description |
---|---|
SelectionMode |
PersistSelection
If 'persistSelection' set to true, then the Gantt selection is persisted on all operations.
Declaration
public bool PersistSelection { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Type
Defines options for selection type. They are
Single
: Allows selection of only a row or a cell.
Multiple
: Allows selection of multiple rows or cells.
Declaration
public SelectionType Type { get; set; }
Property Value
Type | Description |
---|---|
SelectionType |
Methods
Equals(SelectionSettingsModel)
Returns boolean value by comparing selectionSettingsModel
Declaration
public bool Equals(SelectionSettingsModel selectionSettingsModel)
Parameters
Type | Name | Description |
---|---|---|
SelectionSettingsModel | selectionSettingsModel |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Returns boolean value by comparing object
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
GetHashCode()
Returns hashcode for current object
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Implements
System.IEquatable<>