Share via


RelativePosition.Equality Operator

Compares two RelativePosition objects.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
true if the two RelativePosition objects are equal; otherwise, false.

.NET Framework Security

See Also

Reference

RelativePosition Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility