Hi,
I’m currently starting to work to a project and i chose to manage the navigation through the RibbonBar.
However i noticed that the RibbonBarItemButton has not the “TAG” property.
Why?
I’m working on version 2.2.39.0.
Thank you in advance
Hi Angelo,
Tag property is present for control but RibbonBarItemButton is a component. And Tag is for store user data like winform do but we have UserData proprerty for store data.
You can use like that:
this.ribbonBarItemButton1.UserData.whatever = 12;
this.ribbonBarItemButton1.UserData.SomeString = “Hello”;
this.ribbonBarItemButton1.UserData[“weird-name”] = DateTime.Now;
etc..
Tag is not available for component Editor Designer
PS. you can use this.ribbonBarItemButton1.HasUserData to detect if there have any user data stored
Best,
Kevin(ITG)
Please login first to submit.