Class SpreadsheetProtectSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
SpreadsheetProtectSettingsBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.EJ2.Spreadsheet
Assembly: Syncfusion.AspNetMvc.Spreadsheet.dll
Syntax
public class SpreadsheetProtectSettingsBuilder : ControlBuilder
Constructors
SpreadsheetProtectSettingsBuilder()
Declaration
public SpreadsheetProtectSettingsBuilder()
SpreadsheetProtectSettingsBuilder(SpreadsheetProtectSettings)
Declaration
public SpreadsheetProtectSettingsBuilder(SpreadsheetProtectSettings model)
Parameters
| Type | Name | Description |
|---|---|---|
| SpreadsheetProtectSettings | model |
Methods
FormatCells(Boolean)
specifies to allow formating in cells.
Declaration
public SpreadsheetProtectSettingsBuilder FormatCells(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetProtectSettingsBuilder |
FormatColumns(Boolean)
Specifies to allow format columns in spreadsheet.
Declaration
public SpreadsheetProtectSettingsBuilder FormatColumns(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetProtectSettingsBuilder |
FormatRows(Boolean)
Specifies to allow format rows in spreadsheet.
Declaration
public SpreadsheetProtectSettingsBuilder FormatRows(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetProtectSettingsBuilder |
InsertLink(Boolean)
Specifies to allow insert Hyperlink in Spreadsheet.
Declaration
public SpreadsheetProtectSettingsBuilder InsertLink(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetProtectSettingsBuilder |
SelectCells(Boolean)
Specifies to allow selection in spreadsheet.
Declaration
public SpreadsheetProtectSettingsBuilder SelectCells(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetProtectSettingsBuilder |
SelectUnLockedCells(Boolean)
Specifies to allow selection only for unlocked cells in spreadsheet.
Declaration
public SpreadsheetProtectSettingsBuilder SelectUnLockedCells(bool value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | value |
Returns
| Type |
|---|
| SpreadsheetProtectSettingsBuilder |