Back to Devexpress

BarManagerProperties.SubmenuHasShadow Property

windowsforms-devexpress-dot-xtrabars-dot-barmanagerproperties-a9c11ec2.md

latest1.9 KB
Original Source

BarManagerProperties.SubmenuHasShadow Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual bool SubmenuHasShadow { get; set; }
vb
Public Overridable Property SubmenuHasShadow As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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 valueImage
true
false

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

See Also

BarSubItem

BarManagerProperties Class

BarManagerProperties Members

DevExpress.XtraBars Namespace