Exemplo n.º 1
0
 private void SetupDragDropHelper()
 {
     if (IsDragDropEnabled)
     {
         if (_DragDropHelper == null)
         {
             _DragDropHelper = new MetroControlDragDropHelper(this);
         }
     }
     else if (_DragDropHelper != null)
     {
         _DragDropHelper.IsEnabled = false;
     }
 }
Exemplo n.º 2
0
 public AutoScrollHelper(MetroControlDragDropHelper dragHelper)
 {
     _DragHelper   = dragHelper;
     _ScrollViewer = _DragHelper._MetroControl.GetFirstDescendent <ScrollViewer>();
 }
Exemplo n.º 3
0
 public DragTileIntoNewPageHelper(MetroControlDragDropHelper dragHelper)
 {
     _DragHelper = dragHelper;
 }
Exemplo n.º 4
0
            private MetroTile _SecondaryDropTargetTile2; // Will be set if secondary drop tile 1 is a small tile with another small tile beside it.

            public TileDropHelper(MetroControlDragDropHelper dragHelper)
            {
                _DragHelper = dragHelper;
            }