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

TextEffectCollection。 預設為 null

備註

這個屬性通常不是使用標記或程式碼來設定。

此屬性會公開便捷鍵的預設效果,以取得可能的樣式或程式設計變更。

由於使用者預期存取金鑰識別碼在使用者介面 (UI) 中具有特定外觀,因此較好的選擇是使用全應用程式機制來變更此屬性,例如應用程式樣式或自訂主題。

XAML 屬性項目用法

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

XAML 值

OneOrMoreTextEffects
一或多個 TextEffect 元素。

相依性屬性資訊

識別碼欄位 TextEffectsProperty
中繼資料屬性設定為 true AffectsRender

適用於

另請參閱