Skip to content

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

@alexeygritsenko

Description

@alexeygritsenko

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions