RelativeSource
RelativeSource
RelativeSource
RelativeSource
Class
Definition
Implements a markup extension that describes the location of the binding source relative to the position of the binding target.
public : class RelativeSource : DependencyObject, IRelativeSourcepublic class RelativeSource : DependencyObject, IRelativeSourcePublic Class RelativeSource Inherits DependencyObject Implements IRelativeSource// This API is not available in Javascript.
<dependencyobjectdependencyproperty="Binding ... RelativeSource={RelativeSource mode}}" />
- Inheritance
-
RelativeSourceRelativeSourceRelativeSourceRelativeSource
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)ClearValue(DependencyProperty)
GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)GetAnimationBaseValue(DependencyProperty)
GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)GetValue(DependencyProperty)
ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)ReadLocalValue(DependencyProperty)
RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)RegisterPropertyChangedCallback(DependencyProperty,DependencyPropertyChangedCallback)
Inherited properties
Constructors
RelativeSource() RelativeSource() RelativeSource() RelativeSource()
Initializes a new instance of the RelativeSource class by using default relative source mode.
public : RelativeSource()public RelativeSource()Public Sub New()// This API is not available in Javascript.
Properties
Mode Mode Mode Mode
Gets or sets a value that describes the location of the binding source relative to the position of the binding target.
public : RelativeSourceMode Mode { get; set; }public RelativeSourceMode Mode { get; set; }Public ReadWrite Property Mode As RelativeSourceMode// This API is not available in Javascript.
<dependencyobjectdependencyproperty="Binding ... RelativeSource={RelativeSource mode}}" />
A value of the enumeration.