Mode Property
Collapse the table of content
Expand the table of content

RelativeSource.Mode Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

'Declaration
Public Property Mode As RelativeSourceMode
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:
© 2017 Microsoft