Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: DecimalUpDown - focus not set

$
0
0
Hi,

I downloaded the latest source (https://wpftoolkit.codeplex.com/SourceControl/latest) and compiled it to have a Xceed.Wpf.Toolkit.dll.
I created a new project with only :
<StackPanel>
    <xctk:DecimalUpDown x:Name="_decimalUpDown"
                        Value="34" />
    <Button Content="TEST"
            Click="Button_Click" />
  </StackPanel>
and
  private void Button_Click( object sender, RoutedEventArgs e )
    {
      _decimalUpDown.Focus();
    }
and this project is referencing the compiled Xceed.Wpf.Toolkit.dll.

Clicking on the button doesn't focus the DecimalUpDown. I can see the bug (which is already fixed in v3.1 by the way).
Then I modified the file
Main\Source\ExtendedWPFToolkitSolution\Src\Xceed.Wpf.Toolkit\NumericUpDown\Themes\Aero2.NormalColor.xaml
and recompiled the Xceed.Wpf.Toolkit.dll.

I went back to my project and clicking on the Button puts the focus on the DecimalUpDown : the Value is highlighted,
Can you try with a new project ?

――――
Get more controls, features, updates and technical support with Xceed Toolkit Plus for WPF

Viewing all articles
Browse latest Browse all 2157

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>