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
<Style Selector="ItemsControl > ContentPresenter"> applied to all matching children items in a tree. Not all of them are IDock.
This causes exceptions and binding errors listed below in DockMvvmSample application:
[Binding]An error occurred binding 'Proportion' to 'Proportion' at 'Proportion': 'Could not find a matching property accessor for 'Proportion' on 'Dock.Model.Mvvm.Controls.ProportionalDockSplitter'.' (ContentPresenter #45182569)
Exception thrown: 'System.InvalidCastException' in Dock.Avalonia.dll
[Binding]An error occurred binding '(unknown)' to 'IsCollapsable' at 'IsCollapsable': 'Unable to cast object of type 'Dock.Model.Mvvm.Controls.ProportionalDockSplitter' to type 'Dock.Model.Core.IDock'.' (ContentPresenter #45182569)
Exception thrown: 'System.InvalidCastException' in Dock.Avalonia.dll
[Binding]An error occurred binding '(unknown)' to 'IsEmpty' at 'IsEmpty': 'Unable to cast object of type 'Dock.Model.Mvvm.Controls.ProportionalDockSplitter' to type 'Dock.Model.Core.IDock'.' (ContentPresenter #45182569)
Version: 11.1.0.1
App: DockMvvmSample
<Style Selector="ItemsControl > ContentPresenter"> applied to all matching children items in a tree. Not all of them are IDock.
This causes exceptions and binding errors listed below in DockMvvmSample application:
It could be fixed by adding name to the selector:
<Style Selector="ItemsControl#ProportionalDockControlItemsControl > ContentPresenter">
The text was updated successfully, but these errors were encountered: