CornerRadius.Inequality(CornerRadius, CornerRadius) 演算子

定義

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

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 op_Inequality : 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

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

適用対象