CompositeTransform3D Class

Definition

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

public ref class CompositeTransform3D sealed : Transform3D
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CompositeTransform3D final : Transform3D
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositeTransform3D : Transform3D
Public NotInheritable Class CompositeTransform3D
Inherits Transform3D
Inheritance
Object Platform::Object IInspectable DependencyObject Transform3D CompositeTransform3D
Attributes

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()

Initializes a new instance of the CompositeTransform3D class.

Properties

CenterX

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

CenterXProperty

Identifies the CenterX dependency property.

CenterY

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

CenterYProperty

Identifies the CenterY dependency property.

CenterZ

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

CenterZProperty

Identifies the CenterZ dependency property.

Dispatcher

Always returns null in a Windows App SDK app. Use DispatcherQueue instead.

(Inherited from DependencyObject)
DispatcherQueue

Gets the DispatcherQueue that this object is associated with. The DispatcherQueue 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

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

RotationXProperty

Identifies the RotationX dependency property.

RotationY

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

RotationYProperty

Identifies the RotationY dependency property.

RotationZ

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

RotationZProperty

Identifies the RotationZ dependency property.

ScaleX

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

ScaleXProperty

Identifies the ScaleX dependency property.

ScaleY

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

ScaleYProperty

Identifies the ScaleY dependency property.

ScaleZ

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

ScaleZProperty

Identifies the ScaleZ dependency property.

TranslateX

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

TranslateXProperty

Identifies the TranslateX dependency property.

TranslateY

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

TranslateYProperty

Identifies the TranslateY dependency property.

TranslateZ

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

TranslateZProperty

Identifies the TranslateZ dependency property.

Methods

ClearValue(DependencyProperty)

Clears the local value of a dependency property.

(Inherited from DependencyObject)
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)

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

(Inherited from DependencyObject)
ReadLocalValue(DependencyProperty)

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

(Inherited from DependencyObject)
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)

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

(Inherited from DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

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

(Inherited from DependencyObject)

Applies to

See also