Delen via


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, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 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.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class CompositeTransform3D final : Transform3D
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CompositeTransform3D : Transform3D
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class CompositeTransform3D : Transform3D
Public NotInheritable Class CompositeTransform3D
Inherits Transform3D
Inheritance
Object Platform::Object IInspectable DependencyObject Transform3D CompositeTransform3D
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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

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

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