GetTextAlignment Method
Reads the attached property from the given element
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static TextAlignment GetTextAlignment(
Control control
)
Public Shared Function GetTextAlignment (
control As Control
) As TextAlignment
static member GetTextAlignment :
control : Control -> TextAlignment
Parameters
- Control
- The element to which to read the attached property.