Share via


RelativePosition.Contains Method

Returns a value indicating whether the specified RelativePosition exists inside of this RelativePosition.

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

Syntax

'Declaration
Public Function Contains ( _
    value As RelativePosition _
) As Boolean
public bool Contains(
    RelativePosition value
)
public:
bool Contains(
    RelativePosition^ value
)
member Contains : 
        value:RelativePosition -> bool 
public function Contains(
    value : RelativePosition
) : boolean

Parameters

Return Value

Type: System.Boolean
true if value is contained within this RelativePosition; otherwise, false.

Exceptions

Exception Condition
ArgumentNullException

value is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

RelativePosition Class

Microsoft.Windows.Design.Interaction Namespace

Other Resources

WPF Designer Extensibility