Binding's RelativeSource

Another way to specify a data source is by using Binding’s  RelativeSource property, which refers to an element by its relationship to the target element. The property is of type RelativeSource, which also happens to be a markup extension. Here are some of the ways RelativeSource can be used: Self, TemplatedParent, (nth)FindAncestor, PreviousData, etc.

RelativeSource MarkupExtension

댓글

이 블로그의 인기 게시물

Oracle NLS_DATE_FORMAT 변경

Stop console process using Ctrl+C.

Alternative to IValueConvert, QuickConverter