Welcome to the Xceed Community | Help
Community Search  
More Search Options

How do I restrict the length and case of a cell's data?

Sort Posts: Previous Next
  •  10-09-2008, 1:41 PM Post no. 28241

    How do I restrict the length and case of a cell's data?

    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( ">&&&&" )
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.