private void DragableListBoxDemo_OnLoaded(object sender, RoutedEventArgs e)
        {
            for (int i = 0; i < 5; i++)
            {
                Menus.Add(new MenuUiModel {
                    Header = $"Header_{i + 1}"
                });
            }

            var d = new DragableListBoxDemo2();

            d.Show();
        }
예제 #2
0
 public void Register(DragableListBoxDemo2 dragableListBoxDemo2)
 {
     dragableListBoxDemo2.Menus.CollectionChanged += MenusOnCollectionChanged;
 }