20 references to SnapDirection
System.Windows.Forms.Design (20)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (12)
108ToolboxSnapDragDropEventArgs.SnapDirection snapDirections = ToolboxSnapDragDropEventArgs.SnapDirection.None; 129snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Left; 135snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Right; 147snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Top; 153snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Bottom; 169snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Top; 175snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Bottom; 187snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Left; 193snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Right; 212snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Left; 218snapDirections |= ToolboxSnapDragDropEventArgs.SnapDirection.Top;
System\Windows\Forms\Design\Behavior\ToolboxSnapDragDropEventArgs.cs (2)
21public ToolboxSnapDragDropEventArgs(SnapDirection snapDirections, Point offset, DragEventArgs origArgs) 32public SnapDirection SnapDirections { get; }
System\Windows\Forms\Design\DesignerUtils.cs (6)
572if ((e.SnapDirections & ToolboxSnapDragDropEventArgs.SnapDirection.Top) != 0) 576else if ((e.SnapDirections & ToolboxSnapDragDropEventArgs.SnapDirection.Bottom) != 0) 584if ((e.SnapDirections & ToolboxSnapDragDropEventArgs.SnapDirection.Left) != 0) 588else if ((e.SnapDirections & ToolboxSnapDragDropEventArgs.SnapDirection.Right) != 0) 596if ((e.SnapDirections & ToolboxSnapDragDropEventArgs.SnapDirection.Left) != 0) 601else if ((e.SnapDirections & ToolboxSnapDragDropEventArgs.SnapDirection.Right) != 0)