Class BoundsChangedEventArgs
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
oldPositionPointnewPositionPointoldWidthdouble?newWidthdouble?oldHeightdouble?newHeightdouble?
Properties
NewHeight
The new height (null if default).
public double? NewHeight { get; }
Property Value
NewPosition
The new position.
public Point NewPosition { get; }
Property Value
NewWidth
The new width (null if default).
public double? NewWidth { get; }
Property Value
OldHeight
The previous height (null if default).
public double? OldHeight { get; }
Property Value
OldPosition
The previous position.
public Point OldPosition { get; }
Property Value
OldWidth
The previous width (null if default).
public double? OldWidth { get; }
Property Value
PositionOnly
Whether only the position changed (not size).
public bool PositionOnly { get; }