Table of Contents

Class ResolveTooltipLabelEvent

Namespace
MonkeyLoader.Resonite.UI.Tooltips
Assembly
MonkeyLoader.Resonite.Integration.dll

Represents the event fired to determine a tooltip label when a button is hovered.

public sealed class ResolveTooltipLabelEvent : CancelableSyncEvent
Inheritance
ResolveTooltipLabelEvent
Inherited Members

Properties

Button

Gets the button that the label needs to be determined for.

public IButton Button { get; }

Property Value

IButton

ButtonEventData

Gets the event data for the hover event that triggered this tooltip label resolving event.

public ButtonEventData ButtonEventData { get; }

Property Value

ButtonEventData

HasLabel

Gets whether a tooltip label has already been set for this button.

public bool HasLabel { get; }

Property Value

bool

Label

Gets or sets the tooltip label for this button.

public LocaleString? Label { get; set; }

Property Value

LocaleString?

Remarks

Automatically sets Canceled = true when set to a non-null value for the first time.