Beispiel #1
0
        public void InsertItem(int index, IToolbarItemBackend item)
        {
            var value = item.ToWpf();

            if (value != null)
            {
                value.Style = ToolbarUtils.ToolbarItemStyle(value);
                Control.Items.Insert(index, value);
            }
        }
Beispiel #2
0
 public void RemoveItem(IToolbarItemBackend item)
 {
     Control.Items.Remove(item.ToWpf());
 }
Beispiel #3
0
 public void RemoveItem(IToolbarItemBackend backend)
 {
     Control.Children.Remove(backend.ToWpf());
 }
Beispiel #4
0
 public void InsertItem(int index, IToolbarItemBackend backend)
 {
     Control.Children.Insert(index, backend.ToWpf());
 }