CompositeTransform3D Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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:
- Scale (ScaleX, ScaleY, ScaleZ)
- Rotation (RotationX, RotationY, RotationZ)
- Translate (TranslateX, TranslateY, TranslateZ)
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 |
DispatcherQueue |
Gets the |
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) |