CornerRadius.Inequality(CornerRadius, CornerRadius) 运算符

定义

比较两个 CornerRadius 结构是否不相等。

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

要比较的第一个 CornerRadius

cr2
CornerRadius

要比较的第二个 CornerRadius

返回

Boolean

如果 cr1cr2 的一个或多个角有不同的值(TopLeftTopRightBottomLeftBottomRight),则为 true;如果 cr1cr2 有相同的角,则为 false

适用于