Table of Contents

Class BoundsChangedEventArgs

Namespace
FlowGraph.Core.Events
Assembly
FlowGraph.Core.dll

Event arguments for node bounds changes (position or size).

public class BoundsChangedEventArgs : EventArgs
Inheritance
BoundsChangedEventArgs
Inherited Members

Constructors

BoundsChangedEventArgs(Point, Point, double?, double?, double?, double?)

Creates bounds changed event args.

public BoundsChangedEventArgs(Point oldPosition, Point newPosition, double? oldWidth, double? newWidth, double? oldHeight, double? newHeight)

Parameters

oldPosition Point
newPosition Point
oldWidth double?
newWidth double?
oldHeight double?
newHeight double?

Properties

NewHeight

The new height (null if default).

public double? NewHeight { get; }

Property Value

double?

NewPosition

The new position.

public Point NewPosition { get; }

Property Value

Point

NewWidth

The new width (null if default).

public double? NewWidth { get; }

Property Value

double?

OldHeight

The previous height (null if default).

public double? OldHeight { get; }

Property Value

double?

OldPosition

The previous position.

public Point OldPosition { get; }

Property Value

Point

OldWidth

The previous width (null if default).

public double? OldWidth { get; }

Property Value

double?

PositionOnly

Whether only the position changed (not size).

public bool PositionOnly { get; }

Property Value

bool