첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
728x90
반응형
728x170

■ RelativeSource 태그 확장의 Mode 속성을 사용해 템플리트 부모를 참조하는 방법을 보여준다.

 

▶ 예제 코드 (XAML)

BindingContext="{Binding Source={RelativeSource TemplatedParent}}"

IsExpanded="{Binding IsExpanded, Source={RelativeSource TemplatedParent}}"
728x90
반응형
그리드형(광고전용)
Posted by icodebroker

댓글을 달아 주세요