TileBarDropDownOptions.BackColorMode Property
Gets or sets how the TileBarItem.DropDownControl‘s background color is specified.
Namespace: DevExpress.XtraBars.Navigation
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Back |
Default | A value that defines how the Tile |
Available values:
Name | Description |
---|---|
Default | The background of the Tile |
Use |
The background of the Tile |
Use |
The background of the Tile |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Back |
---|---|
Tile |
|
Tile |
|
#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.