This documentation is archived and is not being maintained.

DataGridTextBoxColumn Members

Hosts a TextBox control in a cell of a DataGridColumnStyle for editing strings.

The following tables list the members exposed by the DataGridTextBoxColumn type.

  Name Description
Public method Supported by the .NET Compact Framework DataGridTextBoxColumn Overloaded. Initializes a new instance of the DataGridTextBoxColumn class.
Top

(see also Protected Properties )
  Name Description
Public property Alignment  Gets or sets the alignment of text in a column.(Inherited from DataGridColumnStyle.)
Public property Container  Gets the IContainer that contains the Component.(Inherited from Component.)
Public property DataGridTableStyle  Gets the DataGridTableStyle for the column.(Inherited from DataGridColumnStyle.)
Public property Format Gets or sets the character(s) that specify how text is formatted.
Public property FormatInfo Gets or sets the culture specific information used to determine how values are formatted.
Public property HeaderAccessibleObject  Gets the AccessibleObject for the column.(Inherited from DataGridColumnStyle.)
Public property Supported by the .NET Compact Framework HeaderText  Gets or sets the text of the column header.(Inherited from DataGridColumnStyle.)
Public property Supported by the .NET Compact Framework MappingName  Gets or sets the name of the data member to map the column style to.(Inherited from DataGridColumnStyle.)
Public property Supported by the .NET Compact Framework NullText  Gets or sets the text that is displayed when the column contains a null reference (Nothing in Visual Basic).(Inherited from DataGridColumnStyle.)
Public property PropertyDescriptor Overridden. Gets or sets the PropertyDescriptor for the DataGridTextBoxColumn.
Public property ReadOnly Overridden. Sets a value indicating whether the text box column is read-only.
Public property Supported by the .NET Compact Framework Site  Gets or sets the ISite of the Component.(Inherited from Component.)
Public property TextBox Gets the hosted TextBox control.
Public property Supported by the .NET Compact Framework Width  Gets or sets the width of the column.(Inherited from DataGridColumnStyle.)
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(Inherited from Component.)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)
Protected property Supported by the .NET Compact Framework Events  Gets the list of event handlers that are attached to this Component.(Inherited from Component.)
Protected property FontHeight  Gets the height of the column's font.(Inherited from DataGridColumnStyle.)
Top

(see also Protected Methods )
  Name Description
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 Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method ResetHeaderText  Resets the HeaderText to its default value, a null reference (Nothing in Visual Basic). (Inherited from DataGridColumnStyle.)
Public method Supported by the .NET Compact Framework ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top

  Name Description
Protected method Abort Overridden. Initiates a request to interrupt an edit procedure.
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 Overridden. Inititates a request to complete an editing procedure.
Protected method ConcedeFocus Overridden. Informs the column that the focus is being conceded.
Protected method CreateHeaderAccessibleObject  Gets the AccessibleObject for the column. (Inherited from DataGridColumnStyle.)
Protected method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Protected method Edit Overloaded. Prepares a cell for editing.
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 Overridden. Enters a Value in the column.
Protected method Supported by the .NET Compact Framework 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.)
Protected method GetMinimumHeight Overridden. Gets the height of a cell in a DataGridColumnStyle.
Protected method GetPreferredHeight Overridden. Gets the height to be used in for automatically resizing columns.
Protected method GetPreferredSize Overridden. Returns the optimum width and height of the cell in a specified row relative to the specified value.
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method HideEditBox Hides the DataGridTextBox control and moves the focus to the DataGrid control.
Protected method Invalidate  Redraws the column and causes a paint message to be sent to the control. (Inherited from DataGridColumnStyle.)
Protected method Supported by the .NET Compact Framework MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method Paint Overloaded. Overridden. Paints the column in the DataGrid control.
Protected method PaintText Overloaded. Draws the specified text and surrounding rectangle at the specified location.
Protected method ReleaseHostedControl Overridden. Removes the reference that the DataGrid holds to the control used to edit data.
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 Overridden. Adds a TextBox control to the DataGrid control's Control.ControlCollection.
Protected method UpdateUI Overridden. Updates the user interface.
Top

  Name Description
Public event AlignmentChanged  Occurs when the Alignment property value changes.(Inherited from DataGridColumnStyle.)
Public event Supported by the .NET Compact Framework Disposed  Adds an event handler to listen to the Disposed event on the component.(Inherited from Component.)
Public event FontChanged  Occurs when the column's font changes.(Inherited from DataGridColumnStyle.)
Public event HeaderTextChanged  Occurs when the HeaderText property value changes.(Inherited from DataGridColumnStyle.)
Public event MappingNameChanged  Occurs when the MappingName value changes.(Inherited from DataGridColumnStyle.)
Public event NullTextChanged  Occurs when the NullText value changes.(Inherited from DataGridColumnStyle.)
Public event PropertyDescriptorChanged  Occurs when the PropertyDescriptor property value changes.(Inherited from DataGridColumnStyle.)
Public event ReadOnlyChanged  Occurs when the ReadOnly property value changes.(Inherited from DataGridColumnStyle.)
Public event WidthChanged  Occurs when the Width property value changes.(Inherited from DataGridColumnStyle.)
Top
Show: