Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3565
Overriding the WinGrid Spin Editor Increment via the Designer
posted

I'm using columns where I have the style set to IntergerNonNegativeWithSpin. The spin increment by default increases or decrease by 1. Is there a property somewhere to change the Spin increment in the wingrid design to another value?

Parents
No Data
Reply
  • 37774
    Verified Answer
    posted

    The SpinIncrement property is exposed by the EditorWithMask itself, so the only way that I can think of to set this property at design-time is to create an UltraNumericEditor, set the SpinIncrement on that control, then assign it as the EditorControl of the column.  Your other option is to get the Editor of the column (or the EditorResolved of one of the cells) at run-time, cast it to an EditorWithMask, then set the SpinIncrement.

    -Matt

Children