TextBlockSetMaxLines 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 SetMaxLines(
Control control,
int maxLines
)
Public Shared Sub SetMaxLines (
control As Control,
maxLines As Integer
)
static member SetMaxLines :
control : Control *
maxLines : int -> unit
Parameters
- control Control
- The element to which to write the attached property.
- maxLines Int32
- The property value to set