/// <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();
     }
 }
Esempio n. 2
0
        void SelectItem(RadzenPanelMenuItem item)
        {
            var selected = ShouldMatch(item.Path);

            item.Select(selected);
        }