Normal 0 false false false EN-US X-NONE X-NONE
Hi,
We have a requirement to show visual indicator like a border or some other sort of indicator around a control when control gets focus. Is there a way to achieve this through built in property? It’s hard to handle through Gotfocus and LostFocus events manually for 1000+ forms.
Thanks,
No, there's no property for this that would affect all controls in the application.
Most controls that accept focus display a focus rectangle (a dotted line) to indicate focus, though.
and thats what we don't see this focus rectangle on the controls. Do you know the controls which are having this rectangle to indicate focus?
Hello,
All controls which could receive the focus has focus rectangle. For example standard Microsoft button, has a rectangle (dotted or blue depends of the operation system), which indicates that the input focus is on this component, also this component change its appearance if it is hovered or not.
Please let me know if you have any further questions.
somay said:and thats what we don't see this focus rectangle on the controls. Do you know the controls which are having this rectangle to indicate focus?
I couldn't provide you with a complete list of all controls that support focus rectangles, no. Typically, a focus rectangle displays on any control that takes focus, but I don't think it's 100% true. A TextBox doesn't, for example, because it displays focus using a blinking caret.
What control(s) are you concerned about displaying focus on?
I agree all windows control does show rectangle in blue but i don't see such rectangle in Infragistics controls. As long as windows controls concern, even you have blinking cursor in a text field, it still does show blue rectangle to indicate that field has focus on it.
I am basically looking for same focused rectangle on all Infragistics editors. Is there something which can be done through style?