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

BarManagerProperties.SubmenuHasShadow Property

Gets or sets a value indicating whether a submenu casts a shadow.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DefaultValue(true)]
public virtual bool SubmenuHasShadow { get; set; }

Property Value

Type Default Description
Boolean **true**

true if a submenu casts a shadow; otherwise false.

Remarks

The SubmenuHasShadow property allows you to set whether submenus are displayed with shadows.

The following table shows the difference:

SubmenuHasShadow value Image
true Submenu with Shadow
false Submenu wo Shadow

In skinned paint schemes, popup menus always cast shadows and the SubmenuHasShadow property is not in effect.

See Also