I'm using images to represent the tabs in the different states (normal, selected, hover). The selected tab when it has focus as a dotted box around the tab which doesn't match up with the image that I'm using as the tab. Is there a setting not to show the dotted box or a way to customize it?
Thanks,
Eric
Thanks, That works great.
Sorry, I forgot to even consider a draw filter. Yes you could use one. In your GetPhasesToFilter implementation, you would return BeforeDrawFocus when the element is of type TabItemUIElement. Then in your DrawElement implementation, you can just return True. If you have never used a draw filter before, here is a link to an article which has a brief overview: http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/Win_Draw_Filter.html
Thanks, I have tried that and it does go away but I can't tab into it. Is there anyway that I can create a draw filter to customize this?
I think the only way to hide the focus rect would be to set TabStop on the control to False, but then you will not be able to tab into the control. You can submit a feature request for the ability to hide this rect: http://devcenter.infragistics.com/Protected/RequestFeature.aspx.