System.Windows.Forms.DataGridTextBoxColumn Members

The members of System.Windows.Forms.DataGridTextBoxColumn are listed below.

See Also: Inherited members from System.Windows.Forms.DataGridColumnStyle

Public Constructors

Public Properties

Formatstring.

Gets or sets the character(s) that specify how text is formatted.

FormatInfoIFormatProvider.

Gets or sets the culture specific information used to determine how values are formatted.

[write-only]
override
PropertyDescriptorSystem.ComponentModel.PropertyDescriptor.

Gets or sets the System.ComponentModel.PropertyDescriptor for the System.Windows.Forms.DataGridTextBoxColumn.

override
ReadOnlybool.

Sets a value indicating whether the text box column is read-only.

[read-only]
TextBoxTextBox.

Gets the hosted System.Windows.Forms.TextBox control.

Protected Methods

override
Abort(int)

Initiates a request to interrupt an edit procedure.

override
Commit(CurrencyManager, int) : bool

Inititates a request to complete an editing procedure.

override
ConcedeFocus()

Informs the column that the focus is being conceded.

override
Edit(CurrencyManager, int, System.Drawing.Rectangle, bool, string, bool)

Prepares a cell for editing.

EndEdit()

Ends an edit operation on the System.Windows.Forms.DataGridColumnStyle.

override
EnterNullValue()

Enters a DBNull.Value in the column.

override
GetMinimumHeight() : int

Gets the height of a cell in a System.Windows.Forms.DataGridColumnStyle.

override
GetPreferredHeight(System.Drawing.Graphics, object) : int

Gets the height to be used in for automatically resizing columns.

override
GetPreferredSize(System.Drawing.Graphics, object) : System.Drawing.Size

Returns the optimum width and height of the cell in a specified row relative to the specified value.

HideEditBox()

Hides the System.Windows.Forms.DataGridTextBox control and moves the focus to the System.Windows.Forms.DataGrid control.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, CurrencyManager, int)

Paints the a System.Windows.Forms.DataGridColumnStyle with the specified System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, and row number.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, CurrencyManager, int, bool)

Paints a System.Windows.Forms.DataGridColumnStyle with the specified System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, row number, and alignment.

override
Paint(System.Drawing.Graphics, System.Drawing.Rectangle, CurrencyManager, int, System.Drawing.Brush, System.Drawing.Brush, bool)

Paints a System.Windows.Forms.DataGridColumnStyle with the specified System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, row number, System.Drawing.Brush, and foreground color.

PaintText(System.Drawing.Graphics, System.Drawing.Rectangle, string, bool)

Draws the text and rectangle at the given location with the specified alignment.

PaintText(System.Drawing.Graphics, System.Drawing.Rectangle, string, System.Drawing.Brush, System.Drawing.Brush, bool)

Draws the text and rectangle at the specified location with the specified colors and alignment.

override
ReleaseHostedControl()

Removes the reference that the System.Windows.Forms.DataGrid holds to the control used to edit data.

override
SetDataGridInColumn(DataGrid)

Adds a System.Windows.Forms.TextBox control to the System.Windows.Forms.DataGrid control's System.Windows.Forms.Control.ControlCollection.

override
UpdateUI(CurrencyManager, int, string)

Updates the user interface.