Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RelativeSource Properties

RelativeSource Properties

  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 PreviousData Gets a static value that is used to return a RelativeSource constructed for the PreviousData mode.
Public property Static Self Gets a static value that is used to return a RelativeSource constructed for the Self mode.
Public property Static TemplatedParent Gets a static value that is used to return a RelativeSource constructed for the TemplatedParent mode.
Top

Community Additions

ADD
Show:
© 2015 Microsoft