System.Windows.Forms.DataGridViewButtonColumn.Text Property

Gets or sets the default text displayed on the button cell.

Syntax

[System.ComponentModel.DefaultValue(null)]
public string Text { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Each System.Windows.Forms.DataGridViewButtonCell contained in the column that has as a DataGridViewButtonCell.UseColumnTextForButtonValue property value of true displays the DataGridViewButtonColumn.Text property value on the cell's button.

If there is an associated System.Windows.Forms.DataGridView control, changing this property refreshes the column display.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0