Skip to content

[Bug] Badged Control Causes Window Loading to Hang #2885

@amkuchta

Description

@amkuchta

What steps will reproduce this issue?

Wrapping a TextBox in a Badged control (bound to the TextBox's Text.Length property) causes the window to hang when loading - the GlowBoarder will load, but nothing else. Code Snippet provided below:

<Controls:Badged Margin="5,0,5,5" Badge="{Binding ElementName=badgeTest, Path=Text.Length}" BadgePlacementMode="TopLeft">
  <TextBox x:Name="badgeTest" Controls:TextBoxHelper.Watermark="Enter sometext!" />
</Controls:Badged>

Expected outcome

Window should load and the badge should show the length of the text in the named TextBox

Repo

https://github.com/amkuchta/Vulnerator/tree/code_cleanup (code can be found in the "RmfView.xaml" file and is currently commented out)

Environment

  • MahApps.Metro v1.5.0-alpha007
  • Windows OS 10
  • Visual Studio 2017
  • .NET Framework 4.5.2

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions