SnapLine.ShouldSnap(SnapLine, SnapLine) Yöntem

Tanım

Belirtilen SnapLine öğesinin başka SnapLinebir öğesine tutturup tutturmayacağını belirten bir değer döndürür.

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

Parametreler

line1
SnapLine

Belirtilen SnapLine.

line2
SnapLine

SnapLine Belirtilenin SnapLine tutturmak için beklendiği.

Döndürülenler

true öğesinin line1 tutturması line2gerekiyorsa; aksi takdirde , false.

Şunlara uygulanır