AccessText.TextEffects Property

Gets or sets the effects that are added to the text of an AccessText element.

Namespace: System.Windows.Controls
Assembly: PresentationFramework (in presentationframework.dll)
XML Namespace:

public TextEffectCollection TextEffects { get; set; }
/** @property */
public TextEffectCollection get_TextEffects ()

/** @property */
public void set_TextEffects (TextEffectCollection value)

public function get TextEffects () : TextEffectCollection

public function set TextEffects (value : TextEffectCollection)


 OneOrMoreTextEffects  One or more TextEffect elements. 

Property Value

The TextEffectCollection. The default value is a null reference (Nothing in Visual Basic).

Identifier field


Metadata properties set to true


This property is not typically set, either by using markup or code.

This property exposes the default effects for an access key for possible styling or programmatic change.

Because users expect access key identifiers to have a certain appearance in the user interface (UI), a better choice is to change this property by using application-wide mechanisms, such as application styles or custom themes.

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