❔ TextBox ValidationRule error display issue with ToolTip [XAML, WPF, C#]

Hello everyone.

I have a custom control which is just a textbox with a tooltip and some validation rules. When this textbox was in a view, the validation rule errors, could be displayed in the tooltip no problem. Now that I moved the Textbox XAML code into the custom control, the error messages from the validation are no longer being displayed. I cannot figure out why this is happening. I would appreciate any help I can get.

I am using the custom contol on line 157 of the ConstructionView.xaml file.

And I also attached the xaml and xaml.cs code of my custom textbox userControl.

Thank you to everyone who decides to help out.
Was this page helpful?