Hi Jeffrey,
1.First method:
public class FNumericUpDownCellModel : GridNumericUpDownCellModel
{
public FNumericUpDownCellModel(GridModel grid)
: base(grid)
{
base.ButtonBarSize=new Size(40,20);
}
.................................
}
2.Second Method:
public class FNumericUpDownCellRenderer : GridNumericUpDownCellRenderer
{
protected override Rectangle OnLayout(int rowIndex, int colIndex, GridStyleInfo style, Rectangle innerBounds, Rectangle[] buttonsBounds)
{
// arrow buttons
if (this.OnQueryShowButtons(rowIndex, colIndex, style))
{
int arrowButtonWidth = Model.ButtonBarSize.Width+20;//increase or decrease the size of the button
.....................
}
.....................
}
Here is the sample:
NumericUpDown_size.zip
Let us know if this helps.
Thanks for choosing and using Syncfusion Products.
Best Regards,
Jeba.