Class Scenario
Inheritance
System.Object
Scenario
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Scenario : object
Fields
InputCells
Declaration
public List<InputCells> InputCells
Field Value
Type | Description |
---|---|
List<InputCells> |
Properties
Comment
Comment for this scenario, rich text not supported.
Declaration
public string Comment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Count
Number of input cells.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Hidden
Scenario is hidden when the sheet is protected and 'edit scenarios' is not enabled in sheet protection options. If the scenario is marked as hidden but sheet protection options specify to allow editing scenarios, then the scenario shall not be hidden.
Declaration
public bool Hidden { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Locked
Scenario is locked for editing when the sheet is protected. If sheet is protected and "edit scenarios" is enabled, then this setting is ignored.
Declaration
public bool Locked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Scenario's name (user input). Shall be unique for the workbook.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
User
Name of user who last changed the scenario.
Declaration
public string User { get; set; }
Property Value
Type | Description |
---|---|
System.String |