Share via


RelativePoint.Inequality Operator

Compares two RelativePoint structures. The result specifies whether the values of the Position, X, or Y properties of the two RelativePoint structures are not equal.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Operator <> ( _
    point1 As RelativePoint, _
    point2 As RelativePoint _
) As Boolean
public static bool operator !=(
    RelativePoint point1,
    RelativePoint point2
)
public:
static bool operator !=(
    RelativePoint point1, 
    RelativePoint point2
)
static let inline (<>)
        point1:RelativePoint * 
        point2:RelativePoint  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the values of either the Position, X, or Y properties of p1 and p2 are not equal; otherwise, false.

.NET Framework Security

See Also

Reference

RelativePoint Structure

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility