예제 #1
0
 public bool SetFirstChild(BSNavItem sender)
 {
     if (ActiveChild != null)
     {
         return(false);
     }
     ActiveChild = sender;
     return(true);
 }
예제 #2
0
 private async void Parent_ChildHandler(BSNavItem sender)
 {
     if (sender == this)
     {
         return;
     }
     IsActive = false;
     await InvokeAsync(StateHasChanged);
 }
예제 #3
0
        public void Invoke(BSNavItem sender)
        {
            ActiveChild = sender;
            if (IsTabs)
            {
                TabRender?.Render();
            }

            ChildHandler?.Invoke(sender);
        }