Udostępnij za pośrednictwem


ParagraphAlignment Enum

Definition

Specifies values for aligning paragraphs.

public enum class ParagraphAlignment
/// [Windows.Foundation.Metadata.Version(1)]
enum class ParagraphAlignment
[Windows.Foundation.Metadata.Version(1)]
public enum ParagraphAlignment
var value = Microsoft.UI.Text.ParagraphAlignment.undefined
Public Enum ParagraphAlignment
Inheritance
ParagraphAlignment
Attributes

Fields

Name Value Description
Undefined 0

No paragraph alignment is defined.

Left 1

Text aligns with the left margin.

Center 2

Text is centered between the margins.

Right 3

Text aligns with the right margin.

Justify 4

Text is equally distributed between the margins so that each line of the paragraph, other than the last, is identical in length.

Applies to

See also