TransformGroup TransformGroup TransformGroup Class

Represents a composite Transform composed of other Transform objects.

Syntax

Declaration

public sealed class TransformGrouppublic sealed class TransformGroupPublic NotInheritable Class TransformGroup
<TransformGroup>
  oneOrMoreTransforms
</TransformGroup>

Inheritance Hierarchy

Inherited Members

, , , , , , , , ,
Windows.UI.Xaml.Media.GeneralTransform.TryTransform(Windows.Foundation.Point,Windows.Foundation.Point)
Windows.UI.Xaml.Media.GeneralTransform.TryTransform(Windows.Foundation.Point,Windows.Foundation.Point)
Windows.UI.Xaml.Media.GeneralTransform.TryTransform(Windows.Foundation.Point,Windows.Foundation.Point)
, ,

Remarks

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 summary

Initializes a new instance of the TransformGroup class.

Properties summary

Gets or sets the collection of child Transform objects.

Identifies the Children dependency property.

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

Constructors

  • TransformGroup()
    TransformGroup()
    TransformGroup()
    TransformGroup()

    Initializes a new instance of the TransformGroup class.

    public TransformGroup()public TransformGroup()Public Function TransformGroup() As

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
    <TransformGroup>
      oneOrMoreTransforms
    </TransformGroup>
    

    Property Value

  • 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

    Property Value

  • 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

    Property Value

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ThreadingAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.WebHostHiddenAttribute
Windows.UI.Xaml.Markup.ContentPropertyAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.StaticAttribute

Details

Assembly

Windows.UI.Xaml.Media.dll