Back to Devexpress

BarManager.TransparentEditorsMode Property

windowsforms-devexpress-dot-xtrabars-dot-barmanager-aa7a3967.md

latest2.9 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public DefaultBoolean TransparentEditorsMode { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property TransparentEditorsMode As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

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:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

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

If the WindowsFormsSettings.DefaultSettingsCompatibilityMode global setting is set to the v16 version of DevExpress components or earlier, 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 to paint editors using a transparent background color, when focused.

See Also

TransparentEditorsMode

BarManager Class

BarManager Members

DevExpress.XtraBars Namespace