/// <summary>
        /// Adds the pane.
        /// </summary>
        /// <param name="pane">The pane.</param>
        public void AddPane(RadzenSplitterPane pane)
        {
            if (Panes.IndexOf(pane) != -1 || !pane.Visible)
            {
                return;
            }

            if (string.IsNullOrWhiteSpace(pane.Size))
            {
                //no size defined
                pane.SizeAuto = true;
                _sizeautopanes++;
            }

            pane.Index = Panes.Count;
            Panes.Add(pane);

            foreach (var iPane in Panes)
            {
                if (!iPane.SizeAuto)
                {
                    continue;
                }

                iPane.SizeRuntine = (100 / _sizeautopanes) + "%";
            }
        }
 /// <summary>
 /// Removes the pane.
 /// </summary>
 /// <param name="pane">The pane.</param>
 public void RemovePane(RadzenSplitterPane pane)
 {
     if (Panes.Contains(pane))
     {
         Panes.Remove(pane);
         try
         {
             InvokeAsync(StateHasChanged);
         }
         catch
         {
         }
     }
 }