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.
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.
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.
Hello,
On the following links you could find more information about UltraControlContainorEditor:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinControlContainerEditor_Understanding_WinControlContainerEditor.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinControlContainerEditor_Embed_Any_Control_within_WinGrid_Cell_using_UltraControlContainerEditor_Component.html http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinControlContainerEditor_Embed_Any_Control_within_WinGrid_Cell_using_ControlContainerEditor_Object.html
Please let me know if you have any further questions.
Thank you so much Hristo, I will check that. I use UltraGrid in every form possible since many years ago and I'm still learning about it. It is a great component and a challenge also. I will let you know guys how is it going. Thank you Mike and Hristo.
Hello Oktober, I am interested what you did to resolve the issue