Hi,
Is there any way to add custom control (like a button) into a cell in Summary Row of the grid?
Hello Colin,
Thank you for posting in our forum.
UltraGrid does not have a functionality to embed a custom control in a summary cell.
However, you might be able to use a CreationFilter to manipulate the UIElements and add a button element to a summary cell element.
I have created a sample for you.
For more information about CreationFilter, please take a look at the document page below.https://infragistics.com/help/winforms/win-creation-filter
Let me know if I may be of further assistance.
Thank you,Mihoko Kamiishi
I can add the button now. But I am not sure if Appearance object works with ButtonUIElement. I try to set the Appearance.Image, but it is not working.
var button = new ButtonUIElement(parent); button.Rect = new Rectangle(buttonLocation, buttonSize); button.Appearance = new Infragistics.Win.Appearance(); button.Appearance.Image = summaryButton.Image;