Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridStyle Class / ErrorForeColor Property


    ErrorForeColor Property (GridStyle)
    Gets or sets the foreground color that is used when an error occurs in the grid.
    Syntax
    'Declaration
     
    <XmlIgnoreAttribute()>
    Public Property ErrorForeColor As Color
     
    'Usage
     
    Dim instance As GridStyle
    Dim value As Color
     
    instance.ErrorForeColor = value
     
    value = instance.ErrorForeColor

    Property Value

    A System.Drawing.Color structure representing the foreground color that is used when an error occurs in the grid. By default, System.Drawing.Color.White.
    Remarks

    The ErrorForeColor is applied to the row or cells when their ErrorDescription property is not System.String.Empty.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also