Export (0) Print
Expand All

TextEffect.Transform Property

Gets or sets the Transform that is applied to the TextEffect.

Namespace:  System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

member Transform : Transform with get, set

Property Value

Type: System.Windows.Media.Transform
The Transform value of the TextEffect.

Identifier field

TransformProperty

Metadata properties set to true

None

In the following markup example, a TextEffect is created for a TextBlock object. In this case, the effect is a rotation animation.

<TextBlock.TextEffects>
  <!-- The TextEffect to animate. -->
  <TextEffect PositionCount="1" x:Name="MyTextEffect">
    <TextEffect.Transform>
      <RotateTransform x:Name="TextEffectRotateTransform" 
        Angle="0" CenterX="10" CenterY="10" />
    </TextEffect.Transform>
  </TextEffect>
</TextBlock.TextEffects>

To view the complete sample, see .

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft