TextEffect Class
.NET Framework 3.0
Represents a text effect that can be applied to text objects.
Namespace: System.Windows.Media
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
Assembly: PresentationCore (in presentationcore.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml/presentation
[LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable)] public sealed class TextEffect : Animatable
/** @attribute LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable) */ public final class TextEffect extends Animatable
LocalizabilityAttribute(LocalizationCategory.None, Readability=Readability.Unreadable) public final class TextEffect extends Animatable
<TextEffect .../>
The TextEffect object allows you to add effects, such as animations, to text objects, such as TextBlock, TextElement, and FlowDocument objects.
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.Community Additions
ADD
Show: