Hiii all,,,
I want to increment the values of numericupdown control by .1 like it should come like this .1,.2,.3,.4----------1.0,1.1,1.2........ and i want to do it in WPF.....
But no such property as increment is available in WPF......
So, is thr any alternative sol. 4 it.....
Loading
Kirtan PatelPosted Jan 9, 2010, 6:29 AM
you can make it with two buttons and One Text Box .
private void button1_Click(object sender, RoutedEventArgs e)
{
textBox1.Text = (Convert.ToDouble(textBox1.Text) + 0.1).ToString();
}
private void button2_Click(object sender, RoutedEventArgs e)
{
textBox1.Text = (Convert.ToDouble(textBox1.Text) - 0.1).ToString();
}
monis shamsiPosted Jan 9, 2010, 7:26 AM
I knew there is no Numericupdown control in WPF.....
But i have builded it and using it......and the problem is resolved ....
its having an property "change" instead of "increment".........
Thxx......to every1...
Lalit MPosted Jan 9, 2010, 6:20 AM
http://msdn.microsoft.com/en-us/library/ms771573.aspx