xceedsoftware / wpftoolkit

All the controls missing in WPF. Over 1 million downloads.
Other
3.91k stars 879 forks source link

PropertyGrid: Red border remains after category collapsing #551

Open xceedsoftware opened 7 years ago

xceedsoftware commented 7 years ago

emartin[CodePlex]
Please have a look at sample application In XAML, property grid with properties definition and editor template as:

In MyClass.cs file, I've few properties of type INT as ID1,ID2 and so on as. [Category(quotEditablequot)] [DisplayName(quotEmp ID 1quot)] public int ID1 { get; set; }

In XAML.cs file, I've set the itemsource of property Grid as: public Window1() { InitializeComponent(); propertyGrid.SelectedObject = new MyClass(); }

Due to (NotifyOnValidationError=quotTruequot) set to true in xaml, I get a validation error if any alphabet is entered in textbox and a red colored border is visible across the property. If I collapse the category, the border remains visible, it does not hides.

Hope you got my problem. Please help me out. Not able to get rid of it.

Thanks

xceedsoftware commented 7 years ago

vlukanin[CodePlex]
I have the same issue, it is easy reproducible when using categories and validation

xceedsoftware commented 7 years ago

NishantSharma84[CodePlex]
Please find the Screen shot attached for clarification.

xceedsoftware commented 7 years ago

emartin[CodePlex]
The description is incomplete, See Forum thread:

http://wpftoolkit.codeplex.com/discussions/432313