TileBarDropDownOptions.BackColorMode Property

Gets or sets how the TileBarItem.DropDownControl's background color is specified.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[DefaultValue(BackColorMode.Default)]
public BackColorMode BackColorMode { get; set; }
<DefaultValue(BackColorMode.Default)>
Public Property BackColorMode As BackColorMode

Property Value

Type Default Description
BackColorMode

Default

A value that defines how the TileBarItem.DropDownControl's background color is specified.

Property Paths

You can access this nested property as listed below:

Object Type Path to BackColorMode
TileBar
.DropDownOptions.BackColorMode
TileBarItem
.DropDownOptions.BackColorMode

Remarks

By default, the background of the control assigned to the TileBarItem.DropDownControl is not affected, and it is painted as specified by the control's BackColor property.

You can paint the background of the dropdown control using the tile's back color. To do this, set the BackColorMode property to BackColorMode.UseTileBackColor. By default, tiles are painted using the color specified by the current paint theme (skin). You can provide a custom back color for tiles using the TileBarItem.AppearanceItem.Normal.BackColor property. In the UseTileBackColor mode, if a tile is painted using a gradient fill, only the first color of the gradient fill is applied to the dropdown control's background. To paint the dropdown control's background using a gradient fill, set the BackColorMode property to Default and customize the Appearance property of the TileBarItem.DropDownControl as required.

To paint a beak using a custom color, set the TileBarDropDownOptions.BeakColor property. To paint the dropdown control's background using the same color, set the BackColorMode property to BackColorMode.UseBeakColor.

See Also