Udostępnij za pośrednictwem


ParagraphAlignment Enum

Definition

Specifies values for aligning paragraphs.

public enum class ParagraphAlignment
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ParagraphAlignment
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ParagraphAlignment
var value = Windows.UI.Text.ParagraphAlignment.undefined
Public Enum ParagraphAlignment
Inheritance
ParagraphAlignment
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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