Is there any way to get rid of the ArgumentOutOfRangeException messages in the output window when binding to an array element that might not be set?
For a MenuItem, here is my binding:
<Setter Property="InputGestureText" Value="{Binding Path=MenuItem.Command.InputGestures[0].DisplayString}"/>
If InputGestures is of 0 length, shouldn't this just set the binding value to null? Do I now have to make a custom converter just so I can first check if Count>0? I thought the binding did that automatically... Thanks for any info!