Forum Discussion
I have the same question :
TextBox and ComboBox are displayed with the red border around them, when empty. I can see that Effect parameter is not null when the TextBox is empty and the BorderBrush property is null. When the TextBox is populated, the Effect property becomes null. For the ComboBox the BorderBrush is not null but it doesn't change regardless of whether the ComboBox is empty or not.
How can I validate that the Red border is displayed around a TextBox and ComboBox for WPF controls?
Thanks!
I've changed the WPF Controls: disabled "Simplified WPF object tree" and added ComboBox and TextBox to "Composite controls" (see attached). Now I can see TextBoxBorder and ComboBoxBorder and there the BorderBrush object is accessible with an appropriate Color object. This is a good part
The bad thing is that all my mappings do not work now, because I mapped the objects with "Simplified WPF object tree" enabled. Does it mean that I need to re-map all the objects now or is there a way around it?
Thank you!
- AlexKaras9 years agoChampion Level 3
Hi,
While you might get a performance penalty, I would try to enable the Extended Find for the problematic mapped controls and check if this helps.
(Extended Find column might be not shown for the namemapping tree table in the NameMapping editor. If this is the case, right-click table's header and make it visible.)
- yurik9 years agoContributor
Hi Alex,
Enabling Extended Find solves the issue. As you said there is a performance deterioration but it looks like this the price I have to pay.
Thank you!
Related Content
- 7 years ago
- 10 months ago
- 2 years ago
- 5 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 6 days ago