Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# remove numericUpDown white space

public class MyNumericUpDown : NumericUpDown
{
    public MyNumericUpDown()
    {
        Controls[0].Hide();
    }

    protected override void OnTextBoxResize(object source, EventArgs e)
    {
        Controls[1].Width = Width - 4;
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #numericUpDown #white #space
ADD COMMENT
Topic
Name
5+5 =