Hi there,
i tried to hide the Focus Rectangle like it's described in the Knowledgebase...
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=4791
but my Link Label still draws it when it receives the Focus...
Im creating an Instance of the Label and using it as EditorComponent in an UltraTree:
this.formattedLabel = new UltraFormattedLinkLabel();this.formattedLabel.UseOsThemes = DefaultableBoolean.False;this.formattedLabel.DrawFilter = new UltraFocusRectangleDrawFilter();
myNode.Override.UseEditor = DefaultableBoolean.True;myNode.Override.EditorComponent = this.formattedLabel;
public class UltraFocusRectangleDrawFilter : IUIElementDrawFilter { public UltraFocusRectangleDrawFilter() { } public DrawPhase GetPhasesToFilter(ref UIElementDrawParams drawParams) { return DrawPhase.BeforeDrawFocus; } public Boolean DrawElement(DrawPhase drawPhase, ref UIElementDrawParams drawParams) { return true; } }
any ideas?
Thanks a lot.
Here is an Screenshot...
Any ideas?