I am using a numeric updown in my application and i want to change the height of the numeric updown i cannot do it from the properties window , i tried to change it using code but still the height is unchanged,is there any way to change the height of the numeric updown either by properties window or by code dynamically. With the default height it is very difficult to change the number using a touch pen(monitor being used is a touch panel)
I am using winforms(.net 4.0)
dynamicUpDown.Width = 200;
dynamicUpDown.Height = 25;
You cannot change the height of the Control unless you make it OwnerDraw (I think). Changing the font for this control, and others, will make it bigger in height.
This link has code which changes the height of an OwnerDrawn
ComboBox. If you’re willing, you may be able to use what you learn from this and apply it to theNumericUpDownControl