Skip to main content
A newer version of this page is available. .
Bar

BarManager.TransparentEditorsMode Property

Gets or sets whether specific in-place editors, when focused, are painted using a transparent background color.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean TransparentEditorsMode { get; set; }

Property Value

Type Default Description
DefaultBoolean Default

True if specific in-place editors are painted using a transparent background color when focused; False if not; Default, if the behavior depends on the WindowsFormsSettings.DefaultSettingsCompatibilityMode global setting.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Remarks

This property is supported for the CheckEdit, RadioGroup, TrackBarControl and PictureEdit controls and their descendants, when they are used in-place within bars.

By default, if the WindowsFormsSettings.DefaultSettingsCompatibilityMode global setting is set to the v16 version of DevExpress components or earlier, the editors are painted using a non-transparent background color, when focused. Otherwise, the editors are painted using a transparent background color.

Use the TransparentEditorsMode property to explicitly specify whether or not the editors are painted using a transparent background color, when focused.

TransparentEditors_BarManager

See Also