SnapLine.ShouldSnap(SnapLine, SnapLine) Método

Definición

Devuelve un valor que indica si el especificado SnapLine debe ajustarse a otro SnapLine.

public:
 static bool ShouldSnap(System::Windows::Forms::Design::Behavior::SnapLine ^ line1, System::Windows::Forms::Design::Behavior::SnapLine ^ line2);
public static bool ShouldSnap(System.Windows.Forms.Design.Behavior.SnapLine line1, System.Windows.Forms.Design.Behavior.SnapLine line2);
static member ShouldSnap : System.Windows.Forms.Design.Behavior.SnapLine * System.Windows.Forms.Design.Behavior.SnapLine -> bool
Public Shared Function ShouldSnap (line1 As SnapLine, line2 As SnapLine) As Boolean

Parámetros

line1
SnapLine

SnapLineEspecificado.

line2
SnapLine

al SnapLine que se espera que se ajuste el especificado SnapLine .

Devoluciones

true es si line1 se debe ajustar a line2; de lo contrario, falsees .

Se aplica a