This documentation is archived and is not being maintained.

DataGridTextBoxColumn Members

DataGridTextBoxColumn overview

Public Constructors

public constructorDataGridTextBoxColumn Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the DataGridTextBoxColumn class.

Public Properties

public propertyAlignment (inherited from DataGridColumnStyle) Gets or sets the alignment of text in a column.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDataGridTableStyle (inherited from DataGridColumnStyle) Gets the DataGridTableStyle for the column.
public propertyFormat Gets or sets the character(s) that specify how text is formatted.
public propertyFormatInfo Gets or sets the culture specific information used to determine how values are formatted.
public propertyHeaderText (inherited from DataGridColumnStyle)

Supported by the .NET Compact Framework.

Gets or sets the text of the column header.
public propertyMappingName (inherited from DataGridColumnStyle)

Supported by the .NET Compact Framework.

Gets or sets the name used to map the column style to a data member.
public propertyNullText (inherited from DataGridColumnStyle)

Supported by the .NET Compact Framework.

Gets or sets the text that is displayed when the column contains a null reference (Nothing in Visual Basic).
public propertyPropertyDescriptor Overridden. See DataGridColumnStyle.PropertyDescriptor.
public propertyReadOnly Overridden. See DataGridColumnStyle.ReadOnly.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyTextBox Gets the hosted TextBox control.
public propertyWidth (inherited from DataGridColumnStyle)

Supported by the .NET Compact Framework.

Gets or sets the width of the column.

Public Methods

public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object)

Supported by the .NET Compact Framework.

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodResetHeaderText (inherited from DataGridColumnStyle) Resets the HeaderText to its default value, a null reference (Nothing in Visual Basic).
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.

Public Events

public eventAlignmentChanged (inherited from DataGridColumnStyle) Occurs when the Alignment property value changes.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventHeaderTextChanged (inherited from DataGridColumnStyle) Occurs when the HeaderText property value changes.
public eventMappingNameChanged (inherited from DataGridColumnStyle) Occurs when the MappingName value changes.
public eventNullTextChanged (inherited from DataGridColumnStyle) Occurs when the NullText value changes.
public eventPropertyDescriptorChanged (inherited from DataGridColumnStyle) Occurs when the PropertyDescriptor property value changes.
public eventReadOnlyChanged (inherited from DataGridColumnStyle) Occurs when the ReadOnly property value changes.
public eventWidthChanged (inherited from DataGridColumnStyle) Occurs when the Width property value changes.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.
protected propertyFontHeight (inherited from DataGridColumnStyle) Gets the height of the column's font.

Protected Methods

protected methodAbort Overridden. See DataGridColumnStyle.Abort.
protected methodBeginUpdate (inherited from DataGridColumnStyle) Suspends the painting of the column until the EndUpdate method is called.
protected methodCheckValidDataSource (inherited from DataGridColumnStyle) 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.
protected methodColumnStartedEditing (inherited from DataGridColumnStyle) Informs the System.Windows.Forms.DataGrid that the user has begun editing the column.
protected methodCommit Overridden. See DataGridColumnStyle.Commit.
protected methodConcedeFocus Overridden. See DataGridColumnStyle.ConcedeFocus.
protected methodDispose (inherited from Component)

Supported by the .NET Compact Framework.

Overloaded. Releases the resources used by the Component.
protected methodEdit Overloaded. Overridden. See DataGridColumnStyle.Edit.
protected methodEndUpdate (inherited from DataGridColumnStyle) Resumes the painting of columns suspended by calling the BeginUpdate method.
protected methodEnterNullValue Overridden. See DataGridColumnStyle.EnterNullValue.
protected methodFinalize (inherited from Component)

Supported by the .NET Compact Framework.

Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetColumnValueAtRow (inherited from DataGridColumnStyle) Gets the value in the specified row from the specified CurrencyManager.
protected methodGetMinimumHeight Overridden. See DataGridColumnStyle.GetMinimumHeight.
protected methodGetPreferredHeight Overridden. See DataGridColumnStyle.GetPreferredHeight.
protected methodGetPreferredSize Overridden. See DataGridColumnStyle.GetPreferredSize.
protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodHideEditBox Hides the DataGridTextBox control and moves the focus to the DataGrid control.
protected methodInvalidate (inherited from DataGridColumnStyle) Redraws the column and causes a paint message to be sent to the control.
protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.
protected methodPaint Overloaded. Paints the column in the DataGrid control.
protected methodPaintText Overloaded. Draws the specified text and surrounding rectangle at the specified location.
protected methodReleaseHostedControl Overridden. Removes the reference that the DataGrid holds to the control used to edit data.
protected methodSetColumnValueAtRow (inherited from DataGridColumnStyle) Sets the value in a specified row with the value from a specified CurrencyManager.
protected methodSetDataGrid (inherited from DataGridColumnStyle) Sets the System.Windows.Forms.DataGrid control that this column belongs to.
protected methodSetDataGridInColumn Overridden. Adds a TextBox control to the DataGrid control's Control.ControlCollection.
protected methodUpdateUI Overridden. See DataGridColumnStyle.UpdateUI.

See Also

DataGridTextBoxColumn Class | System.Windows.Forms Namespace

Show: