Bar

BarManagerProperties.SubmenuHasShadow Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(true)]
public virtual bool SubmenuHasShadow { get; set; }
<DefaultValue(True)>
Public Overridable Property SubmenuHasShadow As Boolean

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