Home Forums WinForms controls Xceed Grid for WinForms How do I restrict the length and case of a cell’s data?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #17797 |

    You can use the default TextEditor, which uses the WinTextBox underneath.

    [C#]
    gridControl1.Columns[ 0 ].CellEditorManager = new TextEditor( “>&&&&” );

    You can also assign the viewer in the same way :

    gridControl1.Columns[ 0 ].CellViewerManager = new TextViewer( “>&&&&” );

    [VB.NET]
    gridControl1.Columns( 0 ).CellEditorManager = new TextEditor( “>&&&&” )

    You can also assign the viewer in the same way :

    gridControl1.Columns( 0 ).CellViewerManager = new TextViewer( “>&&&&” )

    Imported from legacy forums. Posted by Xceed admin (had 1475 views)

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.