New to Telerik UI for WPFStart a free 30-day trial

Encapsulates information about position changed event.

Definition

Namespace:Telerik.Windows.Controls.Diagrams

Assembly:Telerik.Windows.Controls.Diagrams.dll

Syntax:

C#
public class PositionChangedRoutedEventArgs : RadRoutedEventArgs

Inheritance: objectRadRoutedEventArgsPositionChangedRoutedEventArgs

Constructors

Initializes a new instance of the PositionChangedRoutedEventArgs class.

C#
public PositionChangedRoutedEventArgs(RoutedEvent routedEvent, Point oldPosition, Point newPosition)
Parameters:routedEventRoutedEvent

The routed event.

oldPositionPoint

The old zoom.

newPositionPoint

The new zoom.

Initializes a new instance of the PositionChangedRoutedEventArgs class.

C#
public PositionChangedRoutedEventArgs(RoutedEvent routedEvent)
Parameters:routedEventRoutedEvent

The routed event.

Properties

Gets the new position.

C#
public Point NewPosition { get; }

Gets the old position.

C#
public Point OldPosition { get; }