Skip to main content

MenuItemStyle.DropDownButtonStyle Property

Gets the style settings which define a drop down button‘s appearance.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web


public virtual MenuItemDropDownButtonStyle DropDownButtonStyle { get; }

Property Value

Type Description

An MenuItemDropDownButtonStyle object that contains the style settings.


Use the DropDownButtonStyle property to access and customize the style settings that define the appearance of drop down buttons at the menu level to which the current style applies.


For a sub menu, the DropDownButtonStyle property’s settings are applied to all sub-items contained within the sub menu, even if one of the sub-item’s MenuItem.DropDownMode properties is set to true.


This sample demonstrates how to enable drop down mode for the ASPxMenu items via the MenuItem.DropDownMode property.

<dxm:ASPxMenu ID="ASPxMenu1" runat="server">
      <dxm:MenuItem Text="Yahoo">
         <Image Url="~/Images/Yahoo.png" />
      <dxm:MenuItem Text="Google">
         <Image Url="~/Images/Google.png" />
      <dxm:MenuItem Text="LiveSearch">
         <Image Url="~/Images/LiveSearch.png" />
      <dxm:MenuItem DropDownMode="True" Text="Other">
            <dxm:MenuItem Text="">
               <Image Url="~/Images/ASK.png" />
            <dxm:MenuItem Text="Altavista">
               <Image Url="~/Images/AltaVista.png" />
<ItemStyle DropDownButtonSpacing="10px">
      <HoverStyle BackColor="#999999">
See Also