namespace Avalonia.Media
{
///
/// Defines how text is aligned.
///
public enum TextAlignment
{
///
/// The text is left-aligned.
///
Left,
///
/// The text is centered.
///
Center,
///
/// The text is right-aligned.
///
Right,
///
/// The beginning of the text is aligned to the edge of the available space.
///
Start,
///
/// The end of the text is aligned to the edge of the available space.
///
End,
///
/// Text alignment is inferred from the text content.
///
///
/// When the TextAlignment property is set to DetectFromContent, alignment is inferred from the text content of the control. For example, English text is left aligned, and Arabic text is right aligned.
///
DetectFromContent,
///
/// Text is justified within the available space.
///
Justify
}
}