MahApps.Metro: Change the Validation Error Position
The Validation Error Popup is blocking the Description of my Texbox since it’s on the right side by default. Is it there a way to change it to the left?
Here’s my situation:

And this is the original Form:

So when the window opens, the user can’t see there is a field called “Name”, just something that can’t be blank, but he can’t know what he’s supposed to type.
I tried a watermark instead, but I didn’t like it for this particular application, I rather a Form style, as it is.
EDIT :
I tried this code in my Resources.xaml:
<Style TargetType="{x:Type mahapps:CustomValidationPopup}">
<Setter Property="Placement" Value="Left" />
</Style>
But it didn’t make any difference.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 18 (12 by maintainers)
Commits related to this issue
- (GH-3356, GH-2093) Fix position after scrolling inside a ScrollViewer — committed to MahApps/MahApps.Metro by punker76 4 years ago
- (GH-3356, GH-2093) Fix Codacy/PR Quality Review — committed to MahApps/MahApps.Metro by punker76 4 years ago
- (GH-2093) Fix posiition of validation popup on MetroContentControl — committed to MahApps/MahApps.Metro by punker76 4 years ago
- (GH-2093) Fix position of validation popup on TransitioningContentControl — committed to MahApps/MahApps.Metro by punker76 4 years ago
- (GH-2093) Add TransitionStarted event to MetroContentControl — committed to MahApps/MahApps.Metro by punker76 4 years ago
- (GH-2093) Add OpeningFinished event to Flyout — committed to MahApps/MahApps.Metro by punker76 4 years ago
- (GH-2093, GH-2695) Fix position of validation popup on Flyout — committed to MahApps/MahApps.Metro by punker76 4 years ago
- Merge pull request #3794 from MahApps/feature/Validation_Popup_Move_Fix (GH-3356, GH-2093) Fix validation popup position after scrolling inside a ScrollViewer — committed to MahApps/MahApps.Metro by punker76 4 years ago
Could you please paste the full code that is showing how we can position the valisation popup. Is it possible to show it below the textbox.
@feinstein so, please try the latest alpha. there was something changed. you can now inherit from a base style for the
CustomValidationPopup.