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


In This Topic
    ErrorForeColor Property (GridControl)
    In This Topic
    Gets or sets the foreground color that is used when an error occurs in the grid.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The foreground color that is used when an error occurs in the grid.")>
    <CategoryAttribute("Appearance")>
    Public Property ErrorForeColor As Color
    'Usage
     
    Dim instance As GridControl
    Dim value As Color
     
    instance.ErrorForeColor = value
     
    value = instance.ErrorForeColor
    [Description("The foreground color that is used when an error occurs in the grid.")]
    [Category("Appearance")]
    public Color ErrorForeColor {get; set;}

    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