RichTextBlock.FontStretch Propriedade

Definição

Obtém ou define o alongamento de fonte para o conteúdo de texto neste 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"/>

Valor da propriedade

O trecho de fonte solicitado, como uma constante FontStretch . O padrão é Normal.

Comentários

Defina a propriedade FontStretch para especificar o trecho de fonte padrão a ser usado para todo o texto no RichTextBlock. Você pode substituir esse valor por elementos de texto específicos no RichTextBlock definindo a propriedade TextElement.FontStretch .

Aplica-se a

Confira também