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

BarManagerProperties.SubmenuHasShadow Property

Gets or sets a value that indicates whether a submenu casts a shadow.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual bool SubmenuHasShadow { get; set; }

Property Value

Type Default Description
Boolean true

true if a submenu casts a shadow; otherwise false. If the Remote Connection Optimization mode is on, the default value is 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