Show / Hide Table of Contents

Class TranslateTransform

Translates (moves) an object in the two-dimensional x-y coordinate system.

Inheritance
System.Object
DependencyObject
GeneralTransform
Transform
TranslateTransform
Inherited Members
Transform.TryTransform(Point, Point)
Transform.TransformBounds(Rect)
Transform.Inverse
GeneralTransform.TransformPoint(Point)
GeneralTransform.Transform(Point)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class TranslateTransform : Transform, IDependencyObject

Fields

| Improve this Doc View Source

XProperty

Identifies the X dependency property.

Declaration
public static readonly DependencyProperty XProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

YProperty

Identifies the Y dependency property.

Declaration
public static readonly DependencyProperty YProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

X

Gets or sets the distance to translate along the x-axis.

Declaration
public double X { get; set; }
Property Value
Type Description
System.Double

The distance to translate (move) an object along the x-axis, in pixels. This property is read/write. The default is 0.

| Improve this Doc View Source

Y

Gets or sets the distance to translate (move) an object along the y-axis.

Declaration
public double Y { get; set; }
Property Value
Type Description
System.Double

The distance to translate (move) an object along the y-axis, in pixels. The default is 0.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source