SnapLine.ShouldSnap(SnapLine, SnapLine) Método

Definição

Retorna um valor que indica se o especificado SnapLine deve ajustar a outro 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

O especificado SnapLine.

line2
SnapLine

Espera-se SnapLine que o ajuste especificado SnapLine seja definido.

Retornos

true se line1 for necessário ajustar a line2; caso contrário, false.

Aplica-se a