List boxes have stopped working in the designer since upgrading to Visual Studio 2015.
The following exception occurs if the items in the list box exceed the height of the list box:
InvalidOperationException: 'Color(#FFFFFFFF)' is not a valid value for property 'Color'.
StackTrace
at System.Windows.DependencyObject.EvaluateExpression(EntryIndex entryIndex, DependencyProperty dp, Expression expr, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry newEntry)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
InnerException: None
If you uncomment the last ListBoxItem in this code, the designer will choke on it:
<ListBox Margin="0,10,0,0" Width="200" Height="241">
<ListBoxItem Content="Afghanistan (AFG)" />
<ListBoxItem Content="Åland Islands (ALA)" />
<ListBoxItem Content="Albania (ALB)" />
<ListBoxItem Content="Algeria (DZA)" />
<ListBoxItem Content="American Samoa (ASM)" />
<ListBoxItem Content="Andorra (AND)" />
<ListBoxItem Content="Angola (AGO)" />
<ListBoxItem Content="Anguilla (AIA)" />
<ListBoxItem Content="Antarctica (ATA)" />
<ListBoxItem Content="Antigua and Barbuda (ATG)" />
<!--<ListBoxItem Content="Argentina (ARG)" />-->
</ListBox>