예제 #1
0
        private async Task Hide(bool notify = true)
        {
            Visible = false;
            TooltipService.NotifyChange(this);

            if (notify && OnVisibilityChanged.HasDelegate)
            {
                await OnVisibilityChanged.InvokeAsync(Visible);
            }
        }
예제 #2
0
 protected override void OnAfterRender(bool firstRender)
 {
     if (firstRender)
     {
         isInitialized = true;
         if (Visible)
         {
             TooltipService.NotifyChange(this);
         }
     }
 }