TransformGroup TransformGroup TransformGroup TransformGroup Class

Definition

Represents a composite Transform composed of other Transform objects.

public : sealed class TransformGroup : Transform, ITransformGroup
public sealed class TransformGroup : Transform, ITransformGroup
Public NotInheritable Class TransformGroup Inherits Transform Implements ITransformGroup
var transformGroup = new transformGroup();
<TransformGroup>
  oneOrMoreTransforms
</TransformGroup>
Inheritance
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

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>

Constructors

TransformGroup() TransformGroup() TransformGroup() TransformGroup()

Initializes a new instance of the TransformGroup class.

public : TransformGroup()
public TransformGroup()
Public Sub New()
var transformGroup = new transformGroup();

Properties

Children Children Children Children

Gets or sets the collection of child Transform objects.

public : TransformCollection Children { get; set; }
public TransformCollection Children { get; set; }
Public ReadWrite Property Children As TransformCollection
var transformCollection = transformGroup.children;
transformGroup.children = transformCollection;
<TransformGroup>
  oneOrMoreTransforms
</TransformGroup>
Value
TransformCollection TransformCollection TransformCollection TransformCollection

The collection of child Transform objects. The default is an empty collection.

ChildrenProperty ChildrenProperty ChildrenProperty ChildrenProperty

Identifies the Children dependency property.

public : static DependencyProperty ChildrenProperty { get; }
public static DependencyProperty ChildrenProperty { get; }
Public Static ReadOnly Property ChildrenProperty As DependencyProperty
var dependencyProperty = Windows.UI.Xaml.Media.TransformGroup.childrenProperty;
Value
DependencyProperty DependencyProperty DependencyProperty DependencyProperty

The identifier for the Children dependency property.

Value Value Value Value

Gets the Matrix structure that describes the transformation represented by this TransformGroup.

public : Matrix Value { get; }
public Matrix Value { get; }
Public ReadOnly Property Value As Matrix
var matrix = transformGroup.value;
Value
Matrix Matrix Matrix Matrix

A composite of the Transform objects in this TransformGroup.

Dispatcher Dispatcher Dispatcher Dispatcher

Inherited from DependencyObject

Inverse Inverse Inverse Inverse

Inherited from GeneralTransform

InverseCore InverseCore InverseCore InverseCore

Inherited from GeneralTransform

Methods

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

Inherited from DependencyObject

GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty) GetAnimationBaseValue(DependencyProperty)

Inherited from DependencyObject

GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty) GetValue(DependencyProperty)

Inherited from DependencyObject

ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty) ReadLocalValue(DependencyProperty)

Inherited from DependencyObject

RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback) RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)

Inherited from DependencyObject

SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object) SetValue(DependencyProperty,Object)

Inherited from DependencyObject

TransformBounds(Rect) TransformBounds(Rect) TransformBounds(Rect) TransformBounds(Rect)

Inherited from GeneralTransform

TransformBoundsCore(Rect) TransformBoundsCore(Rect) TransformBoundsCore(Rect) TransformBoundsCore(Rect)

Inherited from GeneralTransform

TransformPoint(Point) TransformPoint(Point) TransformPoint(Point) TransformPoint(Point)

Inherited from GeneralTransform

UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64) UnregisterPropertyChangedCallback(DependencyProperty,Int64)

Inherited from DependencyObject

See Also