TextEffect


TextEffectHierarchy: DependencyObject Freezable Animatable

 <TextEffect     Location="Baseline|Overline|Strikethrough|Underline"     CharacterIndex="0"     Count="999">     <TextEffect.Transform>         <TranslateTransform|ScaleTransform|SkewTransform|RotateTransform />     </TextEffect.Transform> </TextEffect> 

<TextEffect .../> defines a text effect such as an animation. A TextEffect can be placed in the same location (underline, overline, etc.) as a Textdecoration. TextEffect performs a transformation (essentially animating the text effect), while a TexTDecoration is a static entity.

Attributes


CharacterIndex (optional)


Count (optional)


Location (optional)

Specifies the vertical location at which the decoration will appear.


Baseline

Decoration appears at the vertical position of baseline.


Overline

Decoration appears at the vertical position of overline.


Strikethrough

Decoration appears at the vertical position of strikethrough.


Underline

Decoration appears at the vertical position of underline.


Transform (optional)

Specifies the type of TRansform that will be applied. Must be the name of a class that inherits from the abstract class TRansform. TRansforms are discussed further in Chapter 11. Built-in transforms are:

  • RotateTransform

  • ScaleTransform

  • SkewTransform

  • translateTransform




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net