Xceed Grid for WinForms v4.3 Documentation
Xceed.Editors.v2.6 Assembly / Xceed.Editors Namespace / WinTextBoxBase Class / BackColor Property


In This Topic
    BackColor Property (WinTextBoxBase)
    In This Topic
    Gets or sets the background color of the textbox.
    Syntax
    'Declaration
     
    Public Overrides Property BackColor As Color
    'Usage
     
    Dim instance As WinTextBoxBase
    Dim value As Color
     
    instance.BackColor = value
     
    value = instance.BackColor
    public override Color BackColor {get; set;}

    Property Value

    A System.Drawing.Color representing the background color of the textbox. By default, DefaultBackColor.
    Remarks

    The textbox and the TextBoxArea both use the same background color however changing the BackColor property of the textbox will not invalidate its container.

    It is recommended that the background color be set directly on the textbox and not the TextBoxArea.

    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