Class GridStyleInfoStoreTable
Represents a class that holds a table where each item is a StyleInfoStore.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridStyleInfoStoreTable : ISerializable
Remarks
GridStyleInfoStoreTable is used with GetCells and SetCells method calls. Also, Insert and Remove cells commands use GridStyleInfoStoreTable to store undo information for cells.
Constructors
GridStyleInfoStoreTable(Int32, Int32)
Initializes a new instances of the GridStyleInfoStoreTable class and initializes its row and column count.
Declaration
public GridStyleInfoStoreTable(int rowCount, int colCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowCount | Row count. |
System.Int32 | colCount | Column count. |
GridStyleInfoStoreTable(SerializationInfo, StreamingContext)
Initializes a new instances of the GridStyleInfoStoreTable class from a serialization stream.
Declaration
protected GridStyleInfoStoreTable(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or deserialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
Properties
ColCount
Gets the value of Column count of the table.
Declaration
public virtual int ColCount { get; }
Property Value
Type |
---|
System.Int32 |
Item[Int32, Int32]
Gets or sets the GridStyleInfoStore at a specific row and column index.
Declaration
public GridStyleInfoStore this[int rowIndex, int colIndex] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | rowIndex | |
System.Int32 | colIndex |
Property Value
Type |
---|
GridStyleInfoStore |
RowCount
Gets the value of Row count of the table.
Declaration
public virtual int RowCount { get; }
Property Value
Type |
---|
System.Int32 |
Tag
Gets or sets the value of User-defined data, e.g. covered ranges in clipboard copy / paste.
Declaration
public object Tag { get; set; }
Property Value
Type |
---|
System.Object |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Implements the ISerializable interface and returns the data needed to serialize the GridStyleInfoStoreTable class.
Declaration
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | A SerializationInfo object containing the information required to serialize the object. |
System.Runtime.Serialization.StreamingContext | context | A StreamingContext object containing the source and destination of the serialized stream. |