In Infragistics NetAdvantage, how do I restyle the XamNumericEditor up/down buttons?
I looked in the DefaultStyles, and it’s kind of tough to follow.
- XamNumericEditor style is empty; it’s simply an alias to XamMaskedEditor.
- XamMaskedEditor, however, doesn’t appear to have any up/down buttons defined in there. How does that work?
It’d be really great if I could find a solid not-overly-complex example.
Thanks to anyone who can help.
Here’s the snippet from the DefaultStyle EditorsGeneric.xaml:
As you can see, you can set the SpinButtonStyle to change the look and feel of the spinButton in your application. If you want to change the content too (up/down arrows in the buttons), you can just override the EditorBrushKeys Resources.
Here’s an example on how to change the style: