TextBlockSetLineHeight Method
Writes the attached property BaselineOffset to the given element.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public static void SetLineHeight(
Control control,
double height
)
Public Shared Sub SetLineHeight (
control As Control,
height As Double
)
static member SetLineHeight :
control : Control *
height : float -> unit
Parameters
- control Control
- The element to which to write the attached property.
- height Double
- The property value to set