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";
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.
Thank you so much for such a quick response