Muokkaa

Jaa


AccessText.TextEffects Property

Definition

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

public:
 property System::Windows::Media::TextEffectCollection ^ TextEffects { System::Windows::Media::TextEffectCollection ^ get(); void set(System::Windows::Media::TextEffectCollection ^ value); };
public System.Windows.Media.TextEffectCollection TextEffects { get; set; }
member this.TextEffects : System.Windows.Media.TextEffectCollection with get, set
Public Property TextEffects As TextEffectCollection

Property Value

The TextEffectCollection. The default is null.

Remarks

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.

XAML Property Element Usage

<object>
  <object.TextEffects>
    OneOrMoreTextEffects
  </object.TextEffects>
</object>

XAML Values

OneOrMoreTextEffects One or more TextEffect elements.

Dependency Property Information

Item Value
Identifier field TextEffectsProperty
Metadata properties set to true AffectsRender

Applies to

See also