protected override void OnToolTipOpening(ToolTipEventArgs e) { base.OnToolTipOpening(e); if (ReferenceEquals(ToolTip, String.Empty)) { ToolTip = ToolTipFactory.CreateToolTip(_Symbol, false, SemanticContext.GetHovered().SemanticModel?.Compilation); } }
protected override void OnToolTipOpening(ToolTipEventArgs e) { base.OnToolTipOpening(e); if (ReferenceEquals(ToolTip, String.Empty)) { ToolTip = ToolTipFactory.CreateToolTip(_Symbol); } }
void ShowSymbolToolTip(object sender, ToolTipEventArgs e) { ToolTip = ToolTipFactory.CreateToolTip(_Symbol); ToolTipOpening -= ShowSymbolToolTip; }