DataGridTextBox

DataGridTextBox marshal by reference, disposable

System. Windows .Forms (system. windows .forms.dll) class

This class, derived from the standard TextBox control, is used by the DataGridTextBoxColumn to support the editing of column text. You can access the DataGridTextBox for a specific column by using the DataGridTextBoxColumn.TextBox property. You could then hook the text box for validation, for example.

 public class  DataGridTextBox  : TextBox {  // Public Constructors  public  DataGridTextBox  ();  // Public Instance Properties  public bool  IsInEditOrNavigateMode  {set; get; }  // Public Instance Methods  public void  SetDataGrid  (DataGrid  parentGrid  );  // Protected Instance Methods  protected override void  OnKeyPress  (KeyPressEventArgs  e  );  // overrides Control  protected override void  OnMouseWheel  (MouseEventArgs  e  );  // overrides Control  protected internal override bool  ProcessKeyMessage  (ref Message  m  );  // overrides Control  } 

Hierarchy

System.Object System.MarshalByRefObject System.ComponentModel.Component(System.ComponentModel.IComponen, System.IDisposable) Control(IOleContro, IOleObject , IOleInPlaceObject , IOleInPlaceActiveObject , IOleWindow , IViewObject , IViewObject2 , IPersist , IPersistStreamInit , IPersistPropertyBag , IPersistStorage , IQuickActivate , System.ComponentModel.ISynchronizeInvoke , IWin32Window) TextBoxBase TextBox DataGridTextBox



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net