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

SplitButton with custom ItemTemplate - Source change does not always update layout #3017

Closed
alexeygritsenko opened this Issue Aug 5, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@alexeygritsenko

alexeygritsenko commented Aug 5, 2017

For example, I install a source with 1 element, then I reset it and install it with 3 elements. In this case, the control is not redrawn, and shows only 1 element, although there are 3 of them.

splitButtonPlay.ItemsSource = null; splitButtonPlay.ItemsSource = buttonList;

Full source sample bug project: https://yadi.sk/d/jCWvN8aT3Ljgo6

Environment

  • MahApps.Metro v1.5
  • Windows OS 7 x64
  • Visual Studio 2015
  • .NET Framework 4.0

@punker76 punker76 self-assigned this Sep 8, 2017

@punker76 punker76 added this to the 1.6.0 milestone Sep 8, 2017

@punker76 punker76 closed this in 0eda13c Sep 29, 2017

punker76 added a commit that referenced this issue Sep 29, 2017

@punker76 punker76 added the Bug label Sep 29, 2017

@punker76

This comment has been minimized.

Member

punker76 commented Sep 29, 2017

@alexeygritsenko This fix will be available in 1.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment