This documentation is archived and is not being maintained.

DataGridView.ShowEditingIcon Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets a value indicating whether or not the editing glyph is visible in the row header of the cell being edited.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in

public bool ShowEditingIcon { get; set; }
/** @property */
public boolean get_ShowEditingIcon ()

/** @property */
public void set_ShowEditingIcon (boolean value)

public function get ShowEditingIcon () : boolean

public function set ShowEditingIcon (value : boolean)

Property Value

true if the editing glyph is visible; otherwise, false. The default is true.

The row header will display an editing glyph that looks like a pencil when the current cell is in edit mode and the user has made changes to the cell. The editing glyph is colored by using the ForeColor property of the row header cell. The glyph is not rendered if there is not enough space to display it completely. For example, if the row header cell has its Value property set, the glyph is removed if there is not enough room for both the text and glyph.

The display of the editing glyph is controlled by the value of the IsCurrentRowDirty property. By default, this property is the same as the IsCurrentCellDirty property, except when the DataGridView is data-bound or in virtual mode.

The standard glyph is not publicly exposed. To customize the glyph, you can create a custom DataGridViewRowHeaderCell class.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0