Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Tag doesn't persist across Tool items

Hi all,

Interesting that the Tag property isn't persisted across when you create a StateButtonTool.

 string tag = "StringFilter";


Infragistics.Win.UltraWinToolbars.StateButtonTool btnTool
    = new Infragistics.Win.UltraWinToolbars.StateButtonTool(key + "|" + clbi.Name);
btnTool.SharedPropsInternal.Category = "Filter";
btnTool.SharedPropsInternal.Caption = clbi.DisplayName;
btnTool.Tag = tag;
toolBase[i] = btnTool;
return toolBase;

At this point the Tag is "StringFilter"

But after adding the toolBase to the Toolbar.Tools collection:
it disappears.  toolBase does have the tag property set, this.ToolBar.Tools does not.
I'm wondering if something wasn't copied over internally.

I kinda need that property :( or another i can set that isn't visible in the UI.