Represents a text effect that can be applied to text objects.
Assembly: PresentationCore (in PresentationCore.dll)
Initializes a new instance of theclass.
|TextEffect(Transform, Brush, Geometry, Int32, Int32)|
Initializes a new instance of theclass by specifying class property values.
Gets a value that indicates whether the object can be made unmodifiable. (Inherited from Freezable.)
Gets or sets the clipping region of the.
Gets or sets the Brush to apply to the content of the .
Gets a value that indicates whether the object is currently modifiable. (Inherited from Freezable.)
Gets a value that indicates whether this instance is currently sealed (read-only).(Inherited from DependencyObject.)
Gets or sets the position in the text that theapplies to.
Gets or sets the starting position in the text that theapplies to.
Gets or sets the Transform that is applied to the .
Legacy Code Example
The following example shows an individual character being rotated. Each character is rotated independently at 1-second intervals. The example a defines a RotateTransform that applies to each character in the TextBlock.Text property. The example defines the animations for the Angle and CenterX properties of the RotateTransform object. A third animation of type Int32AnimationUsingKeyFrames changes the PositionStart property from 0 to 12 during the animation sequence, corresponding to the 13-character text string.that contains a
Available since 3.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.