Transform Property

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


Metadata properties set to true


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

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

To view the complete sample, see .

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft