내 응용 프로그램에서 m 목록 선택기 컨트롤에 액세스하려고 할 때마다이 예외가 발생합니다. 내가 줄이면 내 목록 선택기에 대한System.Exception {System.ArgumentException} 값이 예상 범위 내에 있지 않음
+ this {App_name.App} App_name.App
+ sender {App_name.App} object {App_name.App}
- e {System.Windows.ApplicationUnhandledExceptionEventArgs} System.Windows.ApplicationUnhandledExceptionEventArgs
+ base {System.Windows.ApplicationUnhandledExceptionEventArgs} System.EventArgs {System.Windows.ApplicationUnhandledExceptionEventArgs}
+ ExceptionObject {System.ArgumentException: Value does not fall within the expected range.} System.Exception {System.ArgumentException}
Handled false bool
+ Non-Public members
코드
<ListBox Margin="0,417,0,0">
<ListBoxItem>
<toolkit:ListPicker Name="LearnerFileChooser" Width="431" >
<toolkit:ListPickerItem Content="A" />
<toolkit:ListPickerItem Content="B" />
<toolkit:ListPickerItem Content="C" />
<toolkit:ListPickerItem Content="E" />
<toolkit:ListPickerItem Content="F" />
<toolkit:ListPickerItem Content="G" />
<toolkit:ListPickerItem Content="H" />
</toolkit:ListPicker>
</ListBoxItem>
인 NO. 항목을 4로 설정하면 올바르게 작동하지만 4 개 이상 항목이 충돌합니다.
사용자가 선택할 수있는 영문자 목록을 만들려고합니다.
가능한 중복 (http://stackoverflow.com/questions/17065970/windows-phone-toolkit-listpicker-throws-an-unhandled-exception) –