[]
Creates a style model (DefaultSheetStyleModel object) with 0 rows, 0 columns, no parent style model, and a private named styles collection.
public DefaultSheetStyleModel()
Public Sub New()
Creates a style model (DefaultSheetStyle model object) with the specified number of rows and columns.
public DefaultSheetStyleModel(int rowCount, int columnCount)
Public Sub New(rowCount As Integer, columnCount As Integer)
Type | Name | Description |
---|---|---|
int | rowCount | Number of rows in the model |
int | columnCount | Number of columns in the model |
Creates a style model (DefaultSheetStyle model object) with the specified number of rows and columns and named styles collection.
public DefaultSheetStyleModel(int rowCount, int columnCount, NamedStyleCollection namedStyles)
Public Sub New(rowCount As Integer, columnCount As Integer, namedStyles As NamedStyleCollection)
Type | Name | Description |
---|---|---|
int | rowCount | Number of rows in the model |
int | columnCount | Number of columns in the model |
NamedStyleCollection | namedStyles | NamedStyleCollection collection for the style model |
Creates a style model (DefaultSheetStyle model object)
with the specified parent style model and number of rows and columns.
public DefaultSheetStyleModel(int rowCount, int columnCount, ISheetStyleModel parent)
Public Sub New(rowCount As Integer, columnCount As Integer, parent As ISheetStyleModel)
Type | Name | Description |
---|---|---|
int | rowCount | Number of rows in the model |
int | columnCount | Number of columns in the model |
ISheetStyleModel | parent | Parent style model |
Creates a style model (DefaultSheetStyle model object) with the specified parent style model, named styles collection, and number of rows and columns.
public DefaultSheetStyleModel(int rowCount, int columnCount, ISheetStyleModel parent, NamedStyleCollection namedStyles)
Public Sub New(rowCount As Integer, columnCount As Integer, parent As ISheetStyleModel, namedStyles As NamedStyleCollection)
Type | Name | Description |
---|---|---|
int | rowCount | Number of rows in the model |
int | columnCount | Number of columns in the model |
ISheetStyleModel | parent | Parent style model |
NamedStyleCollection | namedStyles | NamedStyleCollection collection for the style model |
Creates a new default sheet style model from deserialization.
protected DefaultSheetStyleModel(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | Object that holds the serialized object data |
StreamingContext | context | Contextual information about the source of the deserialization |