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; }
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); }