wpf2016. 9. 23. 10:47

예를 들면 xaml에서


<border x:name="border1" />

<border x:name="border2" />


이렇게 있다고 하면 behind에서 힘들게 이름을 찾지 말고


var temp = (Border)this.FindName("border1");


요렇게 하면 된다.


'wpf' 카테고리의 다른 글

MVVM을 쓰면서...  (3) 2016.10.24
바인딩이란?  (0) 2016.10.24
[WPF] ListBox Selected 되었을때 내용 바꾸기  (0) 2016.09.08
Drag and Drop Cursor (커서) 변경  (0) 2016.08.23
ListBox Drag and Drop  (0) 2016.08.23
Posted by 동동(이재동)