Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
public Color DisabledBackgroundColor { get; set; }

#Property Value

Type Description
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

DevExpress MAUI TextEdit - Unfocused Default State

DevExpress MAUI TextEdit - Example

Focused

DevExpress MAUI TextEdit - Focused State

DevExpress MAUI TextEdit - Example Focused State

Disabled

DevExpress MAUI TextEdit - Disabled State

DevExpress MAUI TextEdit - Example Disabled State

Error

DevExpress MAUI TextEdit - Error

DevExpress MAUI TextEdit - Example Error

<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