-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Description
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