Hi,
With creationfilter i'm adding custom buttons to the tile header with ButtonUIElement. I would like the styling of these buttons to be exactly the same as the existing buttons of the tile. Like the close button for example. Alternatively: if i use TileHeaderButtonUIElement instead of ButtonUIElement the styling by default is ok. However with TileHeaderButtonUIElement i'm unable to set a custom text or image.
What's the best way to add a button in the tile header with exactly the same styling?
Regards,
Jacob
Hi Jacob,
Thank you for posting in our forums.
What you could do in your case is to create a class that inherits ButtonUIElement and set defaults on it which would make it mimic the TileHeaderButtonUIElement. This way you will have ButtonUIElement functionality with TileHeaderButtonUIElement look.
I have attached a sample which demonstrates this suggestion.
Please let me know if you have any additional questions.
Hi Dimitar,
It's getting pretty close. Is there any way to set the hottracking like with the tileheaderbutton?