TransformGroup class
Represents a composite Transform composed of other Transform objects.
Inheritance
- Object
- DependencyObject
- GeneralTransform
- Transform
- TransformGroup
Syntax
<TransformGroup> oneOrMoreTransforms </TransformGroup>
XAML Values
- oneOrMoreTransforms
-
One or more object elements for classes that derive from Transform. Typically these are the classes RotateTransform, ScaleTransform, SkewTransform, TranslateTransform, MatrixTransform, or TransformGroup. Object elements defined here become members of the collection when code accesses the Children property at run time.
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- ContentPropertyAttribute(Name=Children)
- MarshalingBehaviorAttribute(Agile)
- StaticAttribute(Windows.UI.Xaml.Media.ITransformGroupStatics, NTDDI_WIN8)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
- WebHostHiddenAttribute()
Members
The TransformGroup class has these types of members:
Constructors
The TransformGroup class has these constructors.
| Constructor | Description |
|---|---|
| TransformGroup | Initializes a new instance of the TransformGroup class. |
Methods
The TransformGroup class has these methods. It also inherits methods from the Object class.
| Method | Description |
|---|---|
| ClearValue | Clears the local value of a dependency property. (Inherited from DependencyObject) |
| GetAnimationBaseValue | Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject) |
| GetValue | Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject) |
| ReadLocalValue | Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject) |
| SetValue | Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject) |
| TransformBounds | Transforms the specified bounding box and returns an axis-aligned bounding box that is exactly large enough to contain it. (Inherited from GeneralTransform) |
| TransformBoundsCore | Provides the means to override the TransformBounds behavior in a derived transform class. (Inherited from GeneralTransform) |
| TransformPoint | Transforms the specified point and returns the result. (Inherited from GeneralTransform) |
| TryTransform | Attempts to transform the specified point and returns a value that indicates whether the transformation was successful. (Inherited from GeneralTransform) |
| TryTransformCore | Provides the means to override the TryTransform behavior in a derived transform class. (Inherited from GeneralTransform) |
Properties
The TransformGroup class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read/write | Gets or sets the collection of child Transform objects. | |
| Read-only | Identifies the Children dependency property. | |
| Read-only | Gets the CoreDispatcher that this object is associated with. (Inherited from DependencyObject) | |
| Read-only | Gets the inverse transformation of this GeneralTransform, if possible. (Inherited from GeneralTransform) | |
| Read-only | Implements the behavior for return value of Inverse in a derived or custom GeneralTransform. (Inherited from GeneralTransform) | |
| Read-only | Gets the Matrix structure that describes the transformation represented by this TransformGroup. |
Examples
This example shows the markup for using a TransformGroup to fill the RenderTransform property.
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center"> <TextBlock FontSize="28" Text="Hello" Foreground="Black"> <TextBlock.RenderTransform> <TransformGroup> <RotateTransform Angle="45" /> <SkewTransform CenterX="0" CenterY="0" AngleX="60"/> </TransformGroup> </TextBlock.RenderTransform> </TextBlock> </StackPanel>
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
