/// <summary>
 /// Adds the item.
 /// </summary>
 /// <param name="item">The item.</param>
 public void AddItem(RadzenPanelMenuItem item)
 {
     if (items.IndexOf(item) == -1)
     {
         items.Add(item);
         StateHasChanged();
     }
 }
Exemple #2
0
        void SelectItem(RadzenPanelMenuItem item)
        {
            var selected = ShouldMatch(item.Path);

            item.Select(selected);
        }