Typography.Kerning 屬性

定義

取得或設定值,該值表示是否啟用字元間距調整。

public:
 property bool Kerning { bool get(); void set(bool value); };
public bool Kerning { get; set; }
member this.Kerning : bool with get, set
Public Property Kerning As Boolean

屬性值

Boolean

如果啟用字元間距調整則為 true,否則為 false。 預設值是 true

備註

這個屬性會取得或設定擁有 Typography 屬性的物件上的值,這是存取類別實例的唯一 Typography 方法。 此外,這個屬性支援附加屬性使用方式,以便在 XAML 中的文字包含物件上設定它。

Kerning 是一種印刷樣式函式,可調整字元之間的間距以增強文字圖形。

XAML Attribute Usage

<object Typography.Kerning="bool"/>

相依性屬性資訊

識別碼欄位 KerningProperty
中繼資料屬性設定為 true AffectsMeasureAffectsRenderInherits

適用於