RichTextBlock.TextAlignment Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates how the text is aligned in the RichTextBlock.
public:
property TextAlignment TextAlignment { TextAlignment get(); void set(TextAlignment value); };
TextAlignment TextAlignment();
void TextAlignment(TextAlignment value);
public TextAlignment TextAlignment { get; set; }
var textAlignment = richTextBlock.textAlignment;
richTextBlock.textAlignment = textAlignment;
Public Property TextAlignment As TextAlignment
<RichTextBlock TextAlignment="textAlignmentValue"/>
Property Value
One of the TextAlignment enumeration values that indicates how text is aligned. The default is Left.
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin