語言

AccessText.TextEffects 屬性

定義

取得或設定元素文本中加入 AccessText 的效果。

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

屬性值

TextEffectCollection。 預設值為 null。

備註

這個屬性通常不會透過標記或程式碼來設定。

此特性會揭露存取鍵的預設效果,以便樣式或程式變更。

由於使用者期望存取鍵識別碼在使用者介面(UI)中呈現特定外觀,較好的選擇是透過應用程式整體機制,如應用程式樣式或自訂主題來更改此屬性。

XAML 屬性元素使用方式

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

XAML 值

一或多文字效果
一個或多個 TextEffect 元素。

相依財產資訊

Item 價值觀
識別碼欄位 TextEffectsProperty
元資料屬性設為 true AffectsRender

適用於

另請參閱