Condividi tramite


RichTextBlock.FontStretch Proprietà

Definizione

Ottiene o imposta l'estensione del carattere per il contenuto di testo in questo elemento.

public:
 property FontStretch FontStretch { FontStretch get(); void set(FontStretch value); };
FontStretch FontStretch();

void FontStretch(FontStretch value);
public FontStretch FontStretch { get; set; }
var fontStretch = richTextBlock.fontStretch;
richTextBlock.fontStretch = fontStretch;
Public Property FontStretch As FontStretch
<RichTextBlock FontStretch="fontStretchMemberName"/>

Valore della proprietà

Estensione del tipo di carattere richiesto, come costante FontStretch . Il valore predefinito è Normal.

Commenti

Impostare la proprietà FontStretch per specificare l'estensione predefinita del tipo di carattere da usare per tutto il testo in RichTextBlock. È possibile eseguire l'override di questo valore per elementi di testo specifici in RichTextBlock impostando la proprietà TextElement.FontStretch .

Si applica a

Vedi anche