Share via


RelativePoint.Equality Operator

Compares two RelativePoint structures. The result specifies whether the values of the Position, X, and Y properties of the two RelativePoint structures are 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 Position, X, and Y properties are equal; otherwise, false.

.NET Framework Security

See Also

Reference

RelativePoint Structure

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility