WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRowColSizeDictionary - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridRowColSizeDictionary

    Implements the default dictionary used by the GridModelRowColSizeIndexer to store row heights and column widths.

    Inheritance
    System.Object
    GridRowColSizeDictionary
    Implements
    IGridRowColSizeDictionary
    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 GridRowColSizeDictionary : IGridRowColSizeDictionary, ISerializable
    Remarks

    This is the default implementation for IGridRowColSizeDictionary.

    Constructors

    GridRowColSizeDictionary()

    Initialize a new instance of GridRowColSizeDictionary class.

    Declaration
    public GridRowColSizeDictionary()

    GridRowColSizeDictionary(SerializationInfo, StreamingContext)

    Initializes a new GridRowColSizeDictionary from a serialization stream.

    Declaration
    protected GridRowColSizeDictionary(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. Internal only.

    Declaration
    public GridIndexDictionary InnerDict { get; }
    Property Value
    Type Description
    GridIndexDictionary

    Item[Int32]

    The size of a given row or column index.

    Declaration
    public int this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    System.Int32
    Remarks

    Item[Int32]

    Modified

    Gets or sets a value indicating whether the dictionary was modified.

    Declaration
    public bool Modified { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    GetObjectData(SerializationInfo, StreamingContext)

    Implements the ISerializable interface and returns the data needed to serialize the GridRowColSizeDictionary.

    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.

    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

    InsertItems(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

    MoveItems(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

    RemoveItems(Int32, Int32)

    ResetModified()

    Resets the Modified flag.

    Declaration
    public void ResetModified()

    Implements

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