private async Task Hide(bool notify = true) { Visible = false; TooltipService.NotifyChange(this); if (notify && OnVisibilityChanged.HasDelegate) { await OnVisibilityChanged.InvokeAsync(Visible); } }
protected override void OnAfterRender(bool firstRender) { if (firstRender) { isInitialized = true; if (Visible) { TooltipService.NotifyChange(this); } } }