0
바인딩 :실패 ItemsControl에 내가이 클래스 정의
MyClass 클래스 { 문자열 키를 {얻을; 설정;} }
과 ItemsControl에 지금
<ItemsControl Name="itemsControl" >
<ItemsControl.Items>
<RadioButton Content="{Binding Key}" />
</ItemsControl.Items>
</ItemsControl>
를, 내가 전화하려고 코드에서 바인딩 (itemsControl.ItemsSource 또는 itemsControl.DataContext)하지만 작동하지 않습니다. (itemsControl에 대한 myClass의 일부 목록을 바인딩하려합니다)