Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8012637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:23:03+00:00 2026-06-04T19:23:03+00:00

In Infragistics NetAdvantage, how do I restyle the XamNumericEditor up/down buttons? I looked in

  • 0

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.

  1. XamNumericEditor style is empty; it’s simply an alias to XamMaskedEditor.
  2. 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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T19:23:04+00:00Added an answer on June 4, 2026 at 7:23 pm

    Here’s the snippet from the DefaultStyle EditorsGeneric.xaml:

    <Grid x:Name="PART_SpinButtons" DockPanel.Dock="Right" Visibility="{TemplateBinding SpinButtonVisibilityResolved}" Margin="0,1">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="1"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <!-- AS 2/25/11 TFS67071 -->
        <RepeatButton x:Name="spinUp" Style="{TemplateBinding SpinButtonStyle}" Focusable="false" ContentTemplate="{DynamicResource {x:Static igEditors:EditorsBrushKeys.IncreaseGlyphKey}}"/>
        <RepeatButton x:Name="spinDown" Style="{TemplateBinding SpinButtonStyle}" Focusable="false" Grid.Row="2" ContentTemplate="{DynamicResource {x:Static igEditors:EditorsBrushKeys.DecreaseGlyphKey}}"/>
    </Grid>
    

    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:

    <Grid>
      <Grid.Resources>
        <!-- Change Content of the Repeat Buttons -->
        <DataTemplate x:Key="{x:Static igEditors:EditorsBrushKeys.IncreaseGlyphKey}">
          <Path
            Width="7"
            Height="4"
            Data="M 0 4 L 8 4 L 4 0 Z"
            Fill="{DynamicResource {x:Static igEditors:EditorsBrushKeys.DropdownBtnGlyphNormalForegroundFillKey}}"/>
        </DataTemplate>
    
        <DataTemplate x:Key="{x:Static igEditors:EditorsBrushKeys.DecreaseGlyphKey}">
          <Path
            Width="7"
            Height="4"
            Data="M 0 0 L 4 4 L 8 0 Z"
            Fill="{DynamicResource {x:Static igEditors:EditorsBrushKeys.DropdownBtnGlyphNormalForegroundFillKey}}"/>
        </DataTemplate>
    
        <!-- Change properties on the button -->
        <Style x:Key="mySpinButtonStyle" TargetType="{x:Type RepeatButton}">
          <Setter Property="Background" Value="Green"/>
        </Style>
      </Grid.Resources>
    
      <igEditors:XamNumericEditor SpinButtonDisplayMode="Always" x:Name="myEditor" Value="10" Width="120" Height="40" SpinButtonStyle="{StaticResource mySpinButtonStyle}"/>
    </Grid>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Infragistics Grid disappears when grid parent element is expanded/collapsed using JavaScript style.display property. When
We are currently an Infragistics NetAdvantage Select customer and have been for a few
Infragistics UltraGrid: Column has a drop down with auto-complete. How can I force a
I am using the Infragistics UltraWebGrid to capture some data. I don't have this
We're using Infragistics grid (most probably, we'll have 8.2 version at the end) and
I am using the Infragistics XamDateTimeEditor control and I want to add a dependency
We have used Infragistics controls in our applications for years. However, we have always
I am using an Infragistics XamDataGrid for my grid. It is bound to an
Does anyone know if the Infragistics UltraGrid for Windows Forms support lazy loading? If
I have been using the Infragistics UltraWebGrids for a few years now in multiple

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.