Back to Devexpress

EditBase.DisabledBackgroundColor Property

maui-devexpress-dot-maui-dot-editors-dot-editbase-8311d327.md

latest2.4 KB
Original Source

EditBase.DisabledBackgroundColor Property

Gets or sets the edit box background in disabled state. This is a bindable property.

Namespace : DevExpress.Maui.Editors

Assembly : DevExpress.Maui.Editors.dll

NuGet Package : DevExpress.Maui.Editors

Declaration

csharp
public Color DisabledBackgroundColor { get; set; }

Property Value

TypeDescription
Color

The edit box background color.

|

Example

This example shows how to customize the editor box borders and background of the TextEdit editor in each state.

|

State

|

Default

|

Custom

| | --- | --- | --- | |

Unfocused

|

|

| |

Focused

|

|

| |

Disabled

|

|

| |

Error

|

|

|

xml
<dxe:TextEdit BackgroundColor="Linen"
              DisabledBackgroundColor="PapayaWhip"
              BorderColor="Black"
              BorderThickness="2"
              FocusedBorderThickness="4"
              FocusedBorderColor="DarkOrange"
              DisabledBorderColor="PeachPuff"
              DisabledBorderThickness="6"
              ErrorColor="DarkRed"
              CornerRadius="10"
              CornerMode="Cut"/>

See Also

EditBase Class

EditBase Members

DevExpress.Maui.Editors Namespace