TextEffect.PositionCount Property

 

Gets or sets the position in the text that the TextEffect applies to.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

member PositionCount : int with get, set

Property Value

Type: System.Int32

The Int32 value representing the position in the text that the TextEffect applies to.

Setting the PositionCount value to a number that is greater than the maximum position in the affected text is valid.

Identifier field

PositionCountProperty

Metadata properties set to true

None

The following code example shows how you can set PositionCount value to the maximum Int32 value to ensure that all characters in the text are affected.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: