CompositeTransform3D CompositeTransform3D CompositeTransform3D CompositeTransform3D Class

Definition

Represents 3-D scale, rotation, and translate transforms to be applied to an element.

public : sealed class CompositeTransform3D : Transform3D
struct winrt::Windows::UI::Xaml::Media::Media3D::CompositeTransform3D : Transform3D
public sealed class CompositeTransform3D : Transform3D
Public NotInheritable Class CompositeTransform3D Inherits Transform3D
Inheritance
CompositeTransform3DCompositeTransform3DCompositeTransform3DCompositeTransform3D
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

For examples and more info about using [CompositeTransform3D class, see the UIElement.Transform3D property.

The available transforms are applied in the following order:

All transformations occur around the same center point defined by CenterX, CenterY, and CenterZ.

You can animate each property of a CompositeTransform3D independently.

Constructors

CompositeTransform3D() CompositeTransform3D() CompositeTransform3D() CompositeTransform3D()

Initializes a new instance of the CompositeTransform3D class.

Properties

CenterX CenterX CenterX CenterX

Gets the x-coordinate of the center point in pixels for all transforms specified by the CompositeTransform3D.

CenterXProperty CenterXProperty CenterXProperty CenterXProperty

Identifies the CenterX dependency property.

CenterY CenterY CenterY CenterY

Gets the y-coordinate of the center point in pixels for all transforms specified by the CompositeTransform3D.

CenterYProperty CenterYProperty CenterYProperty CenterYProperty

Identifies the CenterY dependency property.

CenterZ CenterZ CenterZ CenterZ

Gets the z-coordinate of the center point in pixels for all transforms specified by the CompositeTransform3D.

CenterZProperty CenterZProperty CenterZProperty CenterZProperty

Identifies the CenterZ dependency property.

Dispatcher Dispatcher Dispatcher Dispatcher

Gets the CoreDispatcher that this object is associated with. The CoreDispatcher represents a facility that can access the DependencyObject on the UI thread even if the code is initiated by a non-UI thread.

(Inherited from DependencyObject)
RotationX RotationX RotationX RotationX

Gets or sets the angle in degrees of counterclockwise rotation around the x-axis.

RotationXProperty RotationXProperty RotationXProperty RotationXProperty

Identifies the RotationX dependency property.

RotationY RotationY RotationY RotationY

Gets or sets the angle in degrees of counterclockwise rotation around the y-axis.

RotationYProperty RotationYProperty RotationYProperty RotationYProperty

Identifies the RotationY dependency property.

RotationZ RotationZ RotationZ RotationZ

Gets or sets the angle in degrees of counterclockwise rotation around the z-axis.

RotationZProperty RotationZProperty RotationZProperty RotationZProperty

Identifies the RotationZ dependency property.

ScaleX ScaleX ScaleX ScaleX

Gets or sets the x-axis scale factor. You can use this property to stretch or shrink an object along this axis.

ScaleXProperty ScaleXProperty ScaleXProperty ScaleXProperty

Identifies the ScaleX dependency property.

ScaleY ScaleY ScaleY ScaleY

Gets or sets the y-axis scale factor. You can use this property to stretch or shrink an object along this axis.

ScaleYProperty ScaleYProperty ScaleYProperty ScaleYProperty

Identifies the ScaleY dependency property.

ScaleZ ScaleZ ScaleZ ScaleZ

Gets or sets the z-axis scale factor. You can use this property to stretch or shrink an object along this axis.

ScaleZProperty ScaleZProperty ScaleZProperty ScaleZProperty

Identifies the ScaleZ dependency property.

TranslateX TranslateX TranslateX TranslateX

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

TranslateXProperty TranslateXProperty TranslateXProperty TranslateXProperty

Identifies the TranslateX dependency property.

TranslateY TranslateY TranslateY TranslateY

Gets or sets the distance to translate along the y-axis in pixels.

TranslateYProperty TranslateYProperty TranslateYProperty TranslateYProperty

Identifies the TranslateY dependency property.

TranslateZ TranslateZ TranslateZ TranslateZ

Gets or sets the distance to translate along the z-axis in pixels.

TranslateZProperty TranslateZProperty TranslateZProperty TranslateZProperty

Identifies the TranslateZ dependency property.

Methods

ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty) ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Returns any base value established for a dependency property, which would apply in cases where an animation is not active.

(Inherited from DependencyObject)
GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Returns the current effective value of a dependency property from a DependencyObject.

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Returns the local value of a dependency property, if a local value is set.

(Inherited from DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Registers a notification function for listening to changes to a specific DependencyProperty on this DependencyObject instance.

(Inherited from DependencyObject)
SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Sets the local value of a dependency property on a DependencyObject.

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Cancels a change notification that was previously registered by calling RegisterPropertyChangedCallback.

(Inherited from DependencyObject)

See also