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)
XML Namespace:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public Transform Transform { get; set; }
/** @property */
public Transform get_Transform ()

/** @property */
public void set_Transform (Transform value)

public function get Transform () : Transform

public function set Transform (value : Transform)

For XAML information, see the Transform type.

Property Value

The Transform value of the TextEffect.

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 TextEffect Sample.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2015 Microsoft