Back to API Reference
Class

ToggleContextMenuItem

sealed

Binds a Toggle to a custom on/off action.

public bool HasControl{ get }
public override bool IsApplicable()
public override void Wire()
public override void SetVisible()
public Action<bool> ValueChanged

Occurs when the bound toggle changes while its menu is visible.