Bar

BarManager.SubMenuBackgroundImage Property

Obsolete. Gets or sets the default background image for all submenus within the BarManager component.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[Obsolete("You should use the BarManagerProperties class")]
[Browsable(false)]
public Image SubMenuBackgroundImage { get; set; }
<Obsolete("You should use the BarManagerProperties class")>
<Browsable(False)>
Public Property SubMenuBackgroundImage As Image

Property Value

Type Description
Image

The default background image for all submenus within the BarManager component.

Remarks

This property is obsolete. Use the MenuAppearance.Menu property of a BarAndDockingController's BarManagerAppearances.SubMenu object to specify default style settings for subitems within menus. This property affects submenus belonging to the BarManagers which are bound to this BarAndDockingController.

It is also possible to override the default style settings for particular menus. For this purpose, use the BarCustomContainerItem.MenuAppearance and PopupMenu.MenuAppearance properties for container items and popup menus respectively.

See Also