RelativeSource.Mode Property

May 11, 2014

Gets or sets a value that describes the location of the binding source relative to the position of the binding target.

Namespace:  System.Windows.Data
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

public RelativeSourceMode Mode { get; set; }
See Remarks

Property Value

Type: System.Windows.Data.RelativeSourceMode
A value of the enumeration.

ExceptionCondition
InvalidOperationException

When setting this property, the property has already been set to a different value.

For XAML usage of RelativeSource and its properties, see.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft