Class GridRowColHideDictionary
Implements the default dictionary that is used by GridModelHideRowColsIndexer to store hidden rows and columns.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridRowColHideDictionary : IGridRowColHideDictionary, ISerializable
Remarks
This is the default implementation for IGridRowColHideDictionary.
Constructors
GridRowColHideDictionary()
Initialize a new instance of GridRowColHideDictionary.
Declaration
public GridRowColHideDictionary()
GridRowColHideDictionary(SerializationInfo, StreamingContext)
Initializes a new instance ofGridRowColHideDictionary from a serialization stream.
Declaration
protected GridRowColHideDictionary(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | An object that holds all the data needed to serialize or de-serialize this instance. |
System.Runtime.Serialization.StreamingContext | context | Describes the source and destination of the serialized stream specified by info. |
Properties
InnerDict
Gets InnerDictionary. Used internally.
Declaration
public GridIndexDictionary InnerDict { get; }
Property Value
Type |
---|
GridIndexDictionary |
Item[Int32]
Gets or sets the hidden state at a given row or column index.
Declaration
public bool this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
System.Boolean |
Remarks
Modified
Gets a value indicating whether the dictionary was modified.
Declaration
public bool Modified { get; }
Property Value
Type |
---|
System.Boolean |
Methods
InsertItems(Int32, Int32)
Occurs when rows or columns are inserted.
Declaration
public void InsertItems(int index, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Row or column index. |
System.Int32 | count | Number of rows or columns. |
Remarks
MoveItems(Int32, Int32, Int32)
Occurs when rows or columns are moved.
Declaration
public void MoveItems(int from, int count, int dest)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | from | First row or column index. |
System.Int32 | count | Number of rows or columns. |
System.Int32 | dest | The Destination. |
Remarks
RemoveItems(Int32, Int32)
Occurs when rows or columns are removed.
Declaration
public void RemoveItems(int from, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | from | First row or column index. |
System.Int32 | count | Number of rows or columns. |
Remarks
Explicit Interface Implementations
IGridRowColHideDictionary.ResetModified()
Resets the Modified flag.
Declaration
void IGridRowColHideDictionary.ResetModified()
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
Implements the ISerializable interface and returns the data needed to serialize the GridRowColHideDictionary.
Declaration
void ISerializable.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. |