WinForms

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

    Show / Hide Table of Contents

    Class GridRowColHiddenEventArgs

    Provides data about the RowsHidden and ColsHidden event.

    Inheritance
    System.Object
    System.EventArgs
    SyncfusionEventArgs
    SyncfusionSuccessEventArgs
    GridRowColHiddenEventArgs
    Inherited Members
    SyncfusionSuccessEventArgs.Success
    SyncfusionEventArgs.ToString()
    System.EventArgs.Empty
    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 sealed class GridRowColHiddenEventArgs : SyncfusionSuccessEventArgs
    Remarks

    GridRowColHiddenEventArgs is a custom event argument class used by the RowsHidden and ColsHidden event.

    This event is raised by the model to notify all associated views that there has been a change to the specified range of rows and columns in the grid and all associated views should redraw affected display contents. The change can be originated by a mouse or keyboard input or programmatically by changing Item[Int32].

    The Success property indicates if all changes were successfully made to the model. If it is false, this means the operation aborted. However, the view contents need to be redrawn no matter if the operation was successful or not.

    Constructors

    GridRowColHiddenEventArgs(Int32, Int32, Boolean[], Boolean)

    Initializes the new instances of the GridRowColHiddenEventArgs class.

    Declaration
    public GridRowColHiddenEventArgs(int from, int last, bool[] savedValues, bool success)
    Parameters
    Type Name Description
    System.Int32 from

    The first row or column index of the affected range.

    System.Int32 last

    The last row or column index of the affected range.

    System.Boolean[] savedValues

    The previous state of the affected columns or rows.

    System.Boolean success

    Indicates if operation was successful or aborted.

    Properties

    From

    Gets the first row or column index of the affected range.

    Declaration
    [TraceProperty(true)]
    public int From { get; }
    Property Value
    Type Description
    System.Int32

    SavedValues

    Gets the previous state of the affected columns or rows.

    Declaration
    public bool[] SavedValues { get; }
    Property Value
    Type Description
    System.Boolean[]

    To

    Gets the last row or column index of the affected range.

    Declaration
    [TraceProperty(true)]
    public int To { get; }
    Property Value
    Type Description
    System.Int32

    See Also

    GridRowColHiddenEventHandler
    RowsHidden
    ColsHidden
    GridRowColHidingEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved