menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridRangeRemovedEventArgs - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridRangeRemovedEventArgs

    Provides data about the RowsRemoved and ColumnsRemoved events.

    Inheritance
    System.Object
    SyncfusionRoutedEventArgs
    GridRangeRemovedEventArgs
    Inherited Members
    SyncfusionRoutedEventArgs.ToString()
    Namespace: Syncfusion.Windows.Controls.Grid
    Assembly: Syncfusion.Grid.Wpf.dll
    Syntax
    public sealed class GridRangeRemovedEventArgs : SyncfusionRoutedEventArgs
    Remarks

    GridRangeRemovedEventArgs is a custom event argument class used by the RowsRemoved and ColumnsRemoved events.

    This event is raised by the model to notify all associated views that it has rearranged the specified rows or columns in its data store and all associated views should redraw affected display contents.

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

    Constructors

    GridRangeRemovedEventArgs(Int32, Int32)

    Constructs a GridRangeRemovedEventArgs.

    Declaration
    public GridRangeRemovedEventArgs(int removeAt, int count)
    Parameters
    Type Name Description
    System.Int32 removeAt
    System.Int32 count

    Properties

    Count

    The index of the last row or column that was removed.

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

    RemoveAt

    The index of the first row or column that was removed.

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

    See Also

    GridRangeRemovedEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved