Class BindableTranslateManipulator
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
Represents a visual element that contains a manipulator that can translate along an axis.
public class BindableTranslateManipulator : Manipulator, IAnimatable, IInputElement
- Inheritance
-
BindableTranslateManipulator
- Implements
- Inherited Members
- Extension Methods
Fields
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
DirectionProperty
Identifies the Direction dependency property.
public static readonly DependencyProperty DirectionProperty
Field Value
LengthProperty
Identifies the Length dependency property.
public static readonly DependencyProperty LengthProperty
Field Value
Properties
Diameter
Gets or sets the diameter of the manipulator arrow.
public double Diameter { get; set; }
Property Value
- double
The diameter.
Direction
Gets or sets the direction of the translation.
public Vector3D Direction { get; set; }
Property Value
- Vector3D
The direction.
Length
Gets or sets the length of the manipulator arrow.
public double Length { get; set; }
Property Value
- double
The length.
Methods
OnMouseDown(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
eMouseButtonEventArgsThe MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.
OnMouseMove(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseMove(MouseEventArgs e)
Parameters
eMouseEventArgsThe MouseEventArgs that contains the event data.
PositionChanged(DependencyPropertyChangedEventArgs)
Updates the position and the TargetTransform.
protected override void PositionChanged(DependencyPropertyChangedEventArgs e)
Parameters
eDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.
UpdateGeometry()
Updates the geometry.
protected override void UpdateGeometry()
ValueChanged(DependencyPropertyChangedEventArgs)
Moves the Manipulator position by the change in value along the direction vector.
protected override void ValueChanged(DependencyPropertyChangedEventArgs e)
Parameters
eDependencyPropertyChangedEventArgsThe DependencyPropertyChangedEventArgs instance containing the event data.