This project has moved and is read-only. For the latest updates, please go here.

NumericUPDown Style

Nov 24, 2010 at 4:01 PM

Hi,

I have set a style for all my TextBox and the NumericUpDown is getting affected by this style.  However only the TextBox is getting affected.  For example, I set the right and bottom margin for all my TextBox.  I can see this margin in the NumericUpDown control i.e. there is a gray space between the textbox and the up/down control.

Any solution on how can I get around this issue?

Great work by the way.

Regards and thanks

Nov 24, 2010 at 4:33 PM

You will have to either re-template the control, or download the source and modify it to have a Margin of 0.  I am in the process of re-evaluating the style-ability of the toolkit controls and may make some changes that would make it easier to do what you want.

Nov 24, 2010 at 5:57 PM

Thanks for the quick response, looking forward to the next release.  By the way, do you always release for both 3.5 and 4.0?

Nov 24, 2010 at 6:20 PM

Yes, I always release for .NET 3.5 and 4.0.