I want to use my own customized UltraButton in a button sytle column in a grid, how to do that? I've tried with an EditorComponent but then the button doesn't respect the ButtonDisplayStyle = OnMouseEnter. The button should appear only on mouse enter event.
Thank you Mike for your support, I really appreciate it. What I want is to make the appearance to looks like a normal botton with that nice dark rounded borders and two gray colors inside and mimic the action when you press it. Like this:
It should appears only on mouse enter event. For now I'm going to make some research with CreationFilter and DrawFilter, I know nothing about it. If you know another easier way please let me know.
Hi,
UltraButton is not an editor, so there's no way to embed an UltraButton in a grid cell, except to use the UltraControlContainerEditor.
UltraControlContainerEditor displays cells that are not in edit mode using an image. So there's no way to support the ButtonDisplayStyle. Basically the grid has no way of knowing that the control you are using in the UltraControlContainerEditor is a button.
What kind of customizations have you made to the UltraButton that you want to carry over to the grid? You might be able to achieve what you want using Appearances, or maybe a CreationFilter or DrawFilter.