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