protected override Alert CreateAlertImpl(object arg, AlertAlignment align)
 {
     TooltipAlert alert = new TooltipAlert((TooltipAlertArg)arg, align);
     switch (AlertStyle)
     {
         case TooltipAlertStyle.System:
             alert.Renderer = new SystemTooltipAlertRenderer();
             break;
         case TooltipAlertStyle.Custom:
             alert.Renderer = CustomRenderer;
             break;
     }
     return alert;
 }
Exemplo n.º 2
0
        protected override Alert CreateAlertImpl(object arg, AlertAlignment align)
        {
            TooltipAlert alert = new TooltipAlert((TooltipAlertArg)arg, align);

            switch (AlertStyle)
            {
            case TooltipAlertStyle.System:
                alert.Renderer = new SystemTooltipAlertRenderer();
                break;

            case TooltipAlertStyle.Custom:
                alert.Renderer = CustomRenderer;
                break;
            }
            return(alert);
        }