The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi.
I''m trying to create a new cellmodel to have two buttons in a cell. So, i create two GridCellButton and i add them with "addButton".
But i would like to center the two buttons in my cell. I tried to override the onlayout method but i don''t have an access to the cellbounds. If i ovveride the Draw method, i can''t access to the buttons bounds.
Thank you.
ADAdministrator Syncfusion Team April 4, 2005 03:49 PM UTC
I think the renderer.OnLayout is where you need to set the proper button bounds. Here is a little sample that puts 2 elipsis buttons in the middle of a cell using that override.
http://www.syncfusion.com/Support/user/uploads/two_buttons_35ca22be.zip