Table of Contents

Class GroupGridDataChangedEventArgs

Namespace
Avalonia.Controls
Assembly
Tripous.Avalonia.Controls.dll

Provides data for group grid adapter change notifications.

public class GroupGridDataChangedEventArgs : EventArgs
Inheritance
GroupGridDataChangedEventArgs
Inherited Members
Extension Methods

Constructors

GroupGridDataChangedEventArgs(GroupGridDataChangeKind, int, int, string)

Initializes a new instance of the GroupGridDataChangedEventArgs class.

public GroupGridDataChangedEventArgs(GroupGridDataChangeKind Kind, int RowIndex = -1, int OldRowIndex = -1, string ColumnName = "")

Parameters

Kind GroupGridDataChangeKind

The kind of change.

RowIndex int

The affected row index, or -1 when not applicable.

OldRowIndex int

The old row index for move operations, or -1 when not applicable.

ColumnName string

The affected column name, or an empty string when not applicable.

Properties

ColumnName

Gets the affected column name, or an empty string when not applicable.

public string ColumnName { get; }

Property Value

string

Kind

Gets the kind of change.

public GroupGridDataChangeKind Kind { get; }

Property Value

GroupGridDataChangeKind

OldRowIndex

Gets the old row index for move operations, or -1 when not applicable.

public int OldRowIndex { get; }

Property Value

int

RowIndex

Gets the affected row index, or -1 when not applicable.

public int RowIndex { get; }

Property Value

int

Methods

CellChanged(int, string)

Creates a cell-changed notification.

public static GroupGridDataChangedEventArgs CellChanged(int RowIndex, string ColumnName)

Parameters

RowIndex int

The changed row index.

ColumnName string

The changed column name.

Returns

GroupGridDataChangedEventArgs

The created event arguments.

Reset()

Creates a reset notification.

public static GroupGridDataChangedEventArgs Reset()

Returns

GroupGridDataChangedEventArgs

The created event arguments.

RowAdded(int)

Creates a row-added notification.

public static GroupGridDataChangedEventArgs RowAdded(int RowIndex)

Parameters

RowIndex int

The added row index.

Returns

GroupGridDataChangedEventArgs

The created event arguments.

RowChanged(int)

Creates a row-changed notification.

public static GroupGridDataChangedEventArgs RowChanged(int RowIndex)

Parameters

RowIndex int

The changed row index.

Returns

GroupGridDataChangedEventArgs

The created event arguments.

RowMoved(int, int)

Creates a row-moved notification.

public static GroupGridDataChangedEventArgs RowMoved(int OldRowIndex, int RowIndex)

Parameters

OldRowIndex int

The old row index.

RowIndex int

The new row index.

Returns

GroupGridDataChangedEventArgs

The created event arguments.

RowRemoved(int)

Creates a row-removed notification.

public static GroupGridDataChangedEventArgs RowRemoved(int RowIndex)

Parameters

RowIndex int

The removed row index.

Returns

GroupGridDataChangedEventArgs

The created event arguments.