I don't think you can do it with the alignment. Try a different method:
myErrorProvider.SetIconPadding(myTextBox, 50)
How to set a custom location for a Error Provider
-
30-09-2022 - |
Pregunta
How would you set a custom location for an error provider in VB.Net?
I have tried:
myErrorProvider.SetIconAlignment(myTextBox, ErrorIconAlignment.MiddleRight + 50)
However this doesn't work
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow