You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use own hierarchy of data models without Dock models. Binding as described #228 (comment).
Add items data to model of ItemsControl throws exception (for each item):
Unable to cast object of type 'DockXamlSample.ViewModels.UserControlItemViewModel' to type 'Dock.Model.Core.IDockable'.
at CompiledAvaloniaXaml.XamlIlHelpers.Dock.Model.Core.IDockable,Dock.Model.IsCollapsable!Getter(Object)
at Avalonia.Data.Core.ClrPropertyInfo.Get(Object target)
at Avalonia.Markup.Xaml.MarkupExtensions.CompiledBindings.InpcPropertyAccessor.get_Value()
at Avalonia.Markup.Xaml.MarkupExtensions.CompiledBindings.InpcPropertyAccessor.SendCurrentValue()
The exceptions are suppressed and the window displays normally, but causes delays. There is no error when using ListBox.
Similar to #349, but on latest master throws.
I use own hierarchy of data models without
Dock
models. Binding as described #228 (comment).Add items data to model of
ItemsControl
throws exception (for each item):Unable to cast object of type 'DockXamlSample.ViewModels.UserControlItemViewModel' to type 'Dock.Model.Core.IDockable'.
The exceptions are suppressed and the window displays normally, but causes delays. There is no error when using
ListBox
.Similar to #349, but on latest master throws.
Reproduction example:
DockXamlSample.zip
or https://github.com/IldarKhayrutdinov/Dock/tree/ItemsControl-Exception
The text was updated successfully, but these errors were encountered: