SetServiceEnabled Method
Sets whether showing and hiding of a control's tooltip will be automatically controlled by Avalonia.
Definition
Namespace: Avalonia.Controls
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public static void SetServiceEnabled(
Control element,
bool value
)
Public Shared Sub SetServiceEnabled (
element As Control,
value As Boolean
)
static member SetServiceEnabled :
element : Control *
value : bool -> unit
Parameters
- Control
- The control to get the property from.
- Boolean
- Whether the control is to display a tooltip even if it disabled.