Table of Contents

Class ModelChangeEventArgs

Namespace
Qt.Bridge.Models
Assembly
Qt.Bridge.CSharp.Api.dll

Describes a change made by a Model implementation.

public class ModelChangeEventArgs : EventArgs
Inheritance
ModelChangeEventArgs
Inherited Members

Remarks

Instances of ModelChangeEventArgs are created by Model and sent through ModelChanged whenever a subclass calls one of the protected notification helpers such as BeginInsertRows(ModelIndex, int, int) or DataChanged(ModelIndex, ModelIndex, int[]).

This type is part of the internal notification flow. Typical model implementations do not create or modify these objects directly.

Properties

Action

public Model.EventAction Action { get; init; }

Property Value

Model.EventAction

BottomRight

public ModelIndex BottomRight { get; init; }

Property Value

ModelIndex

DestinationChild

public int DestinationChild { get; init; }

Property Value

int

DestinationParent

public ModelIndex DestinationParent { get; init; }

Property Value

ModelIndex

First

public int First { get; init; }

Property Value

int

Last

public int Last { get; init; }

Property Value

int

Orientation

public int Orientation { get; init; }

Property Value

int

Parent

public ModelIndex Parent { get; init; }

Property Value

ModelIndex

Roles

public List<int> Roles { get; init; }

Property Value

List<int>

Synchronized

public bool Synchronized { get; set; }

Property Value

bool

TopLeft

public ModelIndex TopLeft { get; init; }

Property Value

ModelIndex