public virtual void DrawTooltip(EventTokenTriggerTooltip token) { PartsTooltip.Text = token.Text; PartsTooltip.IsUpperPositionDefault = token.IsUpperPositionDefault; PartsTooltip.Location = CodePos <ScreenX, ScreenY> .From(token.Position.X, token.Position.Y); Redraw(); }
public virtual void HideTooltip(EventTokenTriggerTooltip token) { PartsTooltip.Text = string.Empty; Redraw(); }