Skip to main content

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)

public static void SetServiceEnabled(
Control element,
bool value
)

Parameters

  Control
The control to get the property from.
  Boolean
Whether the control is to display a tooltip even if it disabled.

See Also

Reference

ToolTip Class
Avalonia.Controls Namespace