4

Closed

[Phone] Bind to ToString Value

description

By default, when not using CM, if I bind a ListBox for example to a List<Item> the text displayed for ListBoxItem is the value of ToString of Item object.

But, when using CM, the framework tried to find a view for Item (which is fine) and if it didn't find one it displays "Cannot find view for Blah.Namespace.Item".

This behaviour should change to have ListBoxItem display the value of ToString.

The same applicable to any other control that have the same behaviour as ListBox.

Refer to: http://caliburnmicro.codeplex.com/discussions/299193 for more details about the issue.

file attachments

Closed Sep 16, 2013 at 2:10 AM by EisenbergEffect

comments

EisenbergEffect wrote Feb 16, 2012 at 2:29 PM

I probably won't be able to change this behavior, but I was already planning to make it easy to modify the behavior of the framework for situations where views cannot be located. This would make it easy for you to plug in and return the behavior to that of ToString.

tibel wrote Sep 13, 2013 at 7:20 PM

fixed in 3f8aa2475d70