IntegerUpDown Button Style

Sep 6, 2011 at 7:29 PM

I am trying to use a custom style on the RepeatButtons.  I am specifically interested in changing the MouseOver, and Pressed states. I was able to remove the Chrome styling by <Microsoft_Windows_Controls_Chromes:ButtonChrome x:Name="buttonChrome" CornerRadius="2" Background="{x:Null}"> <!--RenderMouseOver="{Binding IsMouseOver, ElementName=IncreaseButton}" RenderPressed="{Binding IsPressed, ElementName=IncreaseButton}" RenderEnabled="{TemplateBinding IsEnabled}"-->

 

I have not been successful in applying a new style. 

Sep 6, 2011 at 7:53 PM

You will need to re-template the control.  If you are modifying the source code you may need to remove the RepeatButton.Template as well.