Редагувати

Поділитися через


Typography.Kerning Property

Definition

Gets or sets a value that indicates whether kerning is enabled.

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

Property Value

true if kerning is enabled; otherwise, false. The default value is true.

Remarks

This property gets or sets a value on the object that owns a Typography property, which is the only way to access a Typography class instance. In addition, this property supports an attached property usage so that it can be set on text-containing objects in XAML.

Kerning is a typographic function that adjusts the spacing between characters to enhance word shape.

XAML Attribute Usage

<object Typography.Kerning="bool"/>

Dependency Property Information

Identifier field KerningProperty
Metadata properties set to true AffectsMeasure, AffectsRender, Inherits

Applies to