.NET Framework Class Library DataGridViewCell..::.PaintErrorIcon Method
Namespace:
System.Windows.Forms
Assembly:
System.Windows.Forms (in System.Windows.Forms.dll)

Syntax
Protected Overridable Sub PaintErrorIcon ( _
graphics As Graphics, _
clipBounds As Rectangle, _
cellValueBounds As Rectangle, _
errorText As String _
)
protected virtual void PaintErrorIcon(
Graphics graphics,
Rectangle clipBounds,
Rectangle cellValueBounds,
string errorText
)
protected:
virtual void PaintErrorIcon(
Graphics^ graphics,
Rectangle clipBounds,
Rectangle cellValueBounds,
String^ errorText
)
abstract PaintErrorIcon :
graphics:Graphics *
clipBounds:Rectangle *
cellValueBounds:Rectangle *
errorText:string -> unit
override PaintErrorIcon :
graphics:Graphics *
clipBounds:Rectangle *
cellValueBounds:Rectangle *
errorText:string -> unit

Remarks
The errorText parameter signals the existence of an error. If errorText is nullNothingnullptra null reference (Nothing in Visual Basic) or String..::.Empty, the PaintErrorIcon method does nothing.

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Biblioteca de clases de .NET Framework DataGridViewCell..::.PaintErrorIcon (Método)
Espacio de nombres:
System.Windows.Forms
Ensamblado:
System.Windows.Forms (en System.Windows.Forms.dll)

Sintaxis
Protected Overridable Sub PaintErrorIcon ( _
graphics As Graphics, _
clipBounds As Rectangle, _
cellValueBounds As Rectangle, _
errorText As String _
)
protected virtual void PaintErrorIcon(
Graphics graphics,
Rectangle clipBounds,
Rectangle cellValueBounds,
string errorText
)
protected:
virtual void PaintErrorIcon(
Graphics^ graphics,
Rectangle clipBounds,
Rectangle cellValueBounds,
String^ errorText
)
abstract PaintErrorIcon :
graphics:Graphics *
clipBounds:Rectangle *
cellValueBounds:Rectangle *
errorText:string -> unit
override PaintErrorIcon :
graphics:Graphics *
clipBounds:Rectangle *
cellValueBounds:Rectangle *
errorText:string -> unit

Comentarios
El parámetro errorText señala la existencia de un error. Si errorText es nullNothingnullptrreferencia null (Nothing en Visual Basic) o String..::.Empty, el método PaintErrorIcon no hace nada.

Información de versión
.NET FrameworkCompatible con: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Vea también
|