Compartir vía


SnapLine.ShouldSnap(SnapLine, SnapLine) Método

Definición

Devuelve un valor que indica si la SnapLine especificada debe ajustarse a otra 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

Objeto SnapLine especificado.

line2
SnapLine

SnapLine a la que se espera que se ajuste la SnapLine especificada.

Devoluciones

Boolean

Es true si line1 debe ajustarse a line2; de lo contrario, es false.

Se aplica a