言語

SnapLine.ShouldSnap(SnapLine, SnapLine) メソッド

定義

指定した SnapLine を別の 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

パラメーター

line1
SnapLine

指定した SnapLine

line2
SnapLine

指定したSnapLineのスナップ先となるSnapLine

返品

true line1 line2にスナップする必要がある場合は。それ以外の場合はfalse

適用対象