RelativeSourceMode Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Defines constants that describe 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.
Syntax
Public Enumeration RelativeSourceMode
public enum RelativeSourceMode
See Remarks
Members
| Member name | Description | |
|---|---|---|
| TemplatedParent | Refers to the element to which the template (in which the data-bound element exists) is applied. | |
| Self | Refers to the element on which you are setting the binding and allows you to bind one property of that element to another property on the same element. |
Remarks
This class is used by the RelativeSource..::.Mode property.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone