Hide() public méthode

Hides the calltip
Hide and Cancel do the same thing
public Hide ( ) : void
Résultat void
Exemple #1
0
        /// <summary>
        /// Cancel the call tip.
        /// </summary>
        /// <param name="tip"></param>
        /// <param name="handlers"></param>
        private void TipCancel(CallTip tip, CancleTipEventHandler handlers)
        {
            if (tip == null || !tip.Visible)
            {
                return;
            }

            var e = new CancleTipEventHandlerArgs();

            handlers?.Invoke(this, e);
            if (e.Cancle)
            {
                return;
            }

            tip.Hide();
            OnMouseLeave(null);
        }
Exemple #2
0
        /// <summary>
        /// Cancel the call tip.
        /// </summary>
        /// <param name="tip"></param>
        /// <param name="handlers"></param>
        private void TipCancel(CallTip tip, CancleTipEventHandler handlers)
        {
            if (tip == null || !tip.Visible)
                return;

            var e = new CancleTipEventHandlerArgs();
            handlers?.Invoke(this, e);
            if (e.Cancle)
                return;

            tip.Hide();
        }