Skip to main content
Bar

BarManagerProperties.SubmenuHasShadow Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.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