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
245
UltraNumericEditor spinbutton does not show always
posted

Although in following code I an setting SpinButtonDisplayStyle to show "Always", I do not see spin button in that cell unless I move over mouse over that cell.

Is there any way I can show it forever ?

Also I've set the width of the grid column to 15 but I do not see enough space for spin button and integer number. I have to manual expand the column.

 

Thanks

Vaquar

           m_uNumericEditor = new UltraNumericEditor();

            m_uNumericEditor.SpinButtonDisplayStyle = Infragistics.Win.ButtonDisplayStyle.Always;

            m_uNumericEditor.DisplayStyle = Infragistics.Win.EmbeddableElementDisplayStyle.VisualStudio2005;

            m_uNumericEditor.NumericType = NumericType.Integer;

            m_uNumericEditor.MinValue = 1;

            m_uNumericEditor.MaxValue = 180;

            m_uNumericEditor.MaskInput = "nnn";

Parents
  • 469350
    Offline posted

    Vaquar said:

    Although in following code I an setting SpinButtonDisplayStyle to show "Always", I do not see spin button in that cell unless I move over mouse over that cell.

    Is there any way I can show it forever ?

    Set ButtonDisplayStyle on the grid column to Always.

    Vaquar said:
    Also I've set the width of the grid column to 15 but I do not see enough space for spin button and integer number. I have to manual expand the column.

    Use the PerformAutoResize method on the column.

     

Reply Children
No Data