Export (0) Print
Expand All

DataGridTextBoxColumn Methods

The DataGridTextBoxColumn type exposes the following members.

  Name Description
Protected method Abort Initiates a request to interrupt an edit procedure. (Overrides DataGridColumnStyle.Abort(Int32).)
Protected method BeginUpdate Suspends the painting of the column until the EndUpdate method is called. (Inherited from DataGridColumnStyle.)
Protected method CheckValidDataSource Throws an exception if the System.Windows.Forms.DataGrid does not have a valid data source, or if this column is not mapped to a valid property in the data source. (Inherited from DataGridColumnStyle.)
Protected method ColumnStartedEditing Informs the System.Windows.Forms.DataGrid that the user has begun editing the column. (Inherited from DataGridColumnStyle.)
Protected method Commit Inititates a request to complete an editing procedure. (Overrides DataGridColumnStyle.Commit(CurrencyManager, Int32).)
Protected method ConcedeFocus Informs the column that the focus is being conceded. (Overrides DataGridColumnStyle.ConcedeFocus().)
Protected method CreateHeaderAccessibleObject Gets the AccessibleObject for the column. (Inherited from DataGridColumnStyle.)
Public method CreateObjRef Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.)
Protected method Edit(CurrencyManager, Int32, Rectangle, Boolean) Prepares a cell for editing. (Inherited from DataGridColumnStyle.)
Protected method Edit(CurrencyManager, Int32, Rectangle, Boolean, String) Prepares the cell for editing using the specified CurrencyManager, row number, and Rectangle parameters. (Inherited from DataGridColumnStyle.)
Protected method Edit(CurrencyManager, Int32, Rectangle, Boolean, String, Boolean) Prepares a cell for editing. (Overrides DataGridColumnStyle.Edit(CurrencyManager, Int32, Rectangle, Boolean, String, Boolean).)
Protected method EndEdit Ends an edit operation on the DataGridColumnStyle.
Protected method EndUpdate Resumes the painting of columns suspended by calling the BeginUpdate method. (Inherited from DataGridColumnStyle.)
Protected method EnterNullValue Enters a Value in the column. (Overrides DataGridColumnStyle.EnterNullValue().)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetColumnValueAtRow Gets the value in the specified row from the specified CurrencyManager. (Inherited from DataGridColumnStyle.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetMinimumHeight Gets the height of a cell in a DataGridColumnStyle. (Overrides DataGridColumnStyle.GetMinimumHeight().)
Protected method GetPreferredHeight Gets the height to be used in for automatically resizing columns. (Overrides DataGridColumnStyle.GetPreferredHeight(Graphics, Object).)
Protected method GetPreferredSize Returns the optimum width and height of the cell in a specified row relative to the specified value. (Overrides DataGridColumnStyle.GetPreferredSize(Graphics, Object).)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HideEditBox Hides the DataGridTextBox control and moves the focus to the DataGrid control.
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method Invalidate Redraws the column and causes a paint message to be sent to the control. (Inherited from DataGridColumnStyle.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected method Paint(Graphics, Rectangle, CurrencyManager, Int32) Paints the a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, and row number. (Overrides DataGridColumnStyle.Paint(Graphics, Rectangle, CurrencyManager, Int32).)
Protected method Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean) Paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, and alignment. (Overrides DataGridColumnStyle.Paint(Graphics, Rectangle, CurrencyManager, Int32, Boolean).)
Protected method Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean) Paints a DataGridColumnStyle with the specified Graphics, Rectangle, CurrencyManager, row number, Brush, and foreground color. (Overrides DataGridColumnStyle.Paint(Graphics, Rectangle, CurrencyManager, Int32, Brush, Brush, Boolean).)
Protected method PaintText(Graphics, Rectangle, String, Boolean) Draws the text and rectangle at the given location with the specified alignment.
Protected method PaintText(Graphics, Rectangle, String, Brush, Brush, Boolean) Draws the text and rectangle at the specified location with the specified colors and alignment.
Protected method ReleaseHostedControl Removes the reference that the DataGrid holds to the control used to edit data. (Overrides DataGridColumnStyle.ReleaseHostedControl().)
Public method ResetHeaderText Resets the HeaderText to its default value, null. (Inherited from DataGridColumnStyle.)
Protected method SetColumnValueAtRow Sets the value in a specified row with the value from a specified CurrencyManager. (Inherited from DataGridColumnStyle.)
Protected method SetDataGrid Sets the System.Windows.Forms.DataGrid control that this column belongs to. (Inherited from DataGridColumnStyle.)
Protected method SetDataGridInColumn Adds a TextBox control to the DataGrid control's Control.ControlCollection. (Overrides DataGridColumnStyle.SetDataGridInColumn(DataGrid).)
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Protected method UpdateUI Updates the user interface. (Overrides DataGridColumnStyle.UpdateUI(CurrencyManager, Int32, String).)
Top

  Name Description
Explicit interface implemetation Private method IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing Informs the DataGrid control that the user has begun editing the column. (Inherited from DataGridColumnStyle.)
Top
Show:
© 2014 Microsoft