Share via


AdornerPlacementValue.Equality Operator

Determines whether the two specified AdornerPlacementValue objects have the same value.

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

Syntax

'Declaration
Public Shared Operator = ( _
    placementValue1 As AdornerPlacementValue, _
    placementValue2 As AdornerPlacementValue _
) As Boolean
public static bool operator ==(
    AdornerPlacementValue placementValue1,
    AdornerPlacementValue placementValue2
)
public:
static bool operator ==(
    AdornerPlacementValue placementValue1, 
    AdornerPlacementValue placementValue2
)
static let inline (=)
        placementValue1:AdornerPlacementValue * 
        placementValue2:AdornerPlacementValue  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean
true if the values are equal; otherwise, false.

.NET Framework Security

See Also

Reference

AdornerPlacementValue Structure

Microsoft.Windows.Design.Interaction Namespace

AdornerPlacementCollection

AdornerPanel

IAdornerPlacement

Other Resources

Walkthrough: Implementing a Rail Inside a Control

Understanding WPF Designer Extensibility