Back to Devexpress

ASPxMenu.ShowAsToolbar Property

aspnet-devexpress-dot-web-dot-aspxmenu-29435f89.md

latest1.4 KB
Original Source

ASPxMenu.ShowAsToolbar Property

Specifies whether a menu is displayed as a toolbar.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public virtual bool ShowAsToolbar { get; set; }
vb
<DefaultValue(False)>
Public Overridable Property ShowAsToolbar As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, to show a menu as a toolbar; otherwise, false.

|

Remarks

Set the ShowAsToolbar property to true to reduce the space between items, so that a menu looks like a toolbar.

Note

The ShowAsToolbar property is not in effect for vertically-oriented menu (when the ASPxMenu.Orientation property is set to Vertical ).

See Also

Online Demo: Toolbar Mode

ASPxMenu Class

ASPxMenu Members

DevExpress.Web Namespace