Skip to main content
Tab

MenuImages.VerticalPopOut Property

Gets the settings of an item’s vertical pop-out image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ItemImageProperties VerticalPopOut { get; }

Property Value

Type Description
ItemImageProperties

A ItemImageProperties object that contains image settings.

Remarks

The VerticalPopOut property is in effect if the MenuSettingsBase.ShowPopOutImages property is set to true.

To specify a unified image for all horizontal pop-out images of a menu, use the MenuImages.HorizontalPopOut property.

ASPxMenu-VisualElements-Pop-outImage

Example

Web Forms:

<dx:ASPxMenu ID="mMain" runat="server" ShowPopOutImages="True">
    <HorizontalPopOutImage Width="15px" Height="15px" Url="~/images/horizontalpopout.png" />
    <VerticalPopOutImage Width="15px" Height="15px" Url="~/images/verticalpopout.png" />
    <Items>
    ...
    </Items>
</dx:ASPxMenu>

MVC:

@Html.DevExpress().Menu(
    settings => {
        settings.Name = "mFeatures";
        settings.ShowPopOutImages = DefaultBoolean.True;

        settings.Images.HorizontalPopOut.Url = "~/images/horizontalpopout.png";
        settings.Images.HorizontalPopOut.Width = "15px";
        settings.Images.HorizontalPopOut.Height = "15px";

        settings.Images.VerticalPopOut.Url = "~/images/verticalpopout.png";
        settings.Images.VerticalPopOut.Width = "15px";
        settings.Images.VerticalPopOut.Height = "15px";
        ...
}).GetHtml()
See Also