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)

public Transform Transform { 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, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Community Additions

ADD
Show:
© 2014 Microsoft