menu

WPF

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

    Show / Hide Table of Contents

    Class GridRangeInsertedEventArgs

    Provides data about the RowsInserted and ColumnsInserted events.

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

    GridRangeInsertedEventArgs is a custom event argument class used by the RowsInserted and ColumnsInserted events.

    This event is raised by the model to notify all associated views that it has inserted the specified number of rows or column into 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

    GridRangeInsertedEventArgs(Int32, Int32)

    Initializes a new GridRangeInsertedEventArgs.

    Declaration
    public GridRangeInsertedEventArgs(int insertAt, int count)
    Parameters
    Type Name Description
    System.Int32 insertAt

    The row or column index where the cells should be inserted before.

    System.Int32 count

    The number of rows or columns.

    Properties

    Count

    The number of rows or columns.

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

    InsertAt

    The row or column index where the cells should be inserted before.

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

    See Also

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