CornerRadius.Equality(CornerRadius, CornerRadius) 演算子

定義

2 つの CornerRadius 構造体を比較して、等しいかどうかを確認します。Compares two CornerRadius structures for equality.

public:
 static bool operator ==(System::Windows::CornerRadius cr1, System::Windows::CornerRadius cr2);
public static bool operator == (System.Windows.CornerRadius cr1, System.Windows.CornerRadius cr2);
static member ( = ) : System.Windows.CornerRadius * System.Windows.CornerRadius -> bool
Public Shared Operator == (cr1 As CornerRadius, cr2 As CornerRadius) As Boolean

パラメーター

cr1
CornerRadius

比較対象となる最初の CornerRadiusThe first CornerRadius to compare.

cr2
CornerRadius

比較対象となる 2 番目の CornerRadiusThe second CornerRadius to compare.

戻り値

Boolean

すべての角で cr1cr2 の値が同じ (TopLeftTopRightBottomLeftBottomRight で値が同じ) 場合は true。1 つ以上の角で cr1cr2 の値が異なる場合は falsetrue if cr1 and cr2 have equal values for all corners (same values for TopLeft, TopRight, BottomLeft, BottomRight); false if cr1 and cr2 have different values for one or more corners.

適用対象