TextBlockSetTextAlignment Method

Writes the attached property BaselineOffset to the given element.

Definition

Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetTextAlignment(
	Control control,
	TextAlignment alignment
)

Parameters

control  Control
The element to which to write the attached property.
alignment  TextAlignment
The property value to set

See Also