Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

RelativeSource Properties

The RelativeSource type exposes the following members.

  Name Description
Public property AncestorLevel Gets or sets the level of ancestor to look for, in FindAncestor mode. Use 1 to indicate the one nearest to the binding target element.
Public property AncestorType Gets or sets the type of ancestor to look for.
Public property Mode Gets or sets a RelativeSourceMode value that describes the location of the binding source relative to the position of the binding target.
Public property Static member PreviousData Gets a static value that is used to return a RelativeSource constructed for the PreviousData mode.
Public property Static member Self Gets a static value that is used to return a RelativeSource constructed for the Self mode.
Public property Static member TemplatedParent Gets a static value that is used to return a RelativeSource constructed for the TemplatedParent mode.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.