What are the different ways of binding using relative source?
Answer Posted / Ranjeet Choudhary
In WPF, RelativeSource can be used to bind to a property in a parent or ancestor element. The mode determines how far up the tree the search goes. AncestersAndSelf means it will look for the property in the current element and all its ancestors, while AncestorType looks for an element of a specific type within the ancestors.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category