Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AvalonDock PanesTemplateSelector is ignored #15

Closed
Dirkster99 opened this issue Feb 15, 2019 · 0 comments
Closed

AvalonDock PanesTemplateSelector is ignored #15

Dirkster99 opened this issue Feb 15, 2019 · 0 comments

Comments

@Dirkster99
Copy link
Owner

Dirkster99 commented Feb 15, 2019

Issue

My LayoutItemTemplateSelector SelectTemplate() method won't fire at all anymore.
Tried to change the TemplateSelector from a StaticResource to a Bindable object to pure XAML, but nothing worked. The ContentPresenter of a LayoutAnchorableControl is always a TextBlock.

My layout consists only of Anchorables.
issue

Bug fix for xceedsoftware/wpftoolkit#1440

Replace 'Binding LayoutItem.View.Content' with 'Binding LayoutItem.View'
in Line 842 and 959 in generic.xaml

As shown in this commit:
fe18e81

After fix applied:
fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant