WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRowColHideDictionary

    Show / Hide Table of Contents

    Class GridRowColHideDictionary

    Implements the default dictionary that is used by GridModelHideRowColsIndexer to store hidden rows and columns.

    Inheritance
    System.Object
    GridRowColHideDictionary
    Implements
    IGridRowColHideDictionary
    System.Runtime.Serialization.ISerializable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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 Description
    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 Description
    System.Boolean
    Remarks

    Item[Int32]

    Modified

    Gets a value indicating whether the dictionary was modified.

    Declaration
    public bool Modified { get; }
    Property Value
    Type Description
    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

    InsertIndex(Int32, Int32)

    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

    MoveIndex(Int32, Int32, Int32)

    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

    RemoveIndex(Int32, Int32)

    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.

    Implements

    IGridRowColHideDictionary
    System.Runtime.Serialization.ISerializable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved