Tab

MenuImages.HorizontalPopOut Property

Gets the settings of an image that is an item’s horizontal pop-out image.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public ItemImageProperties HorizontalPopOut { get; }

Property Value

Type Description
ItemImageProperties

A ItemImageProperties object that contains image settings.

Remarks

The HorizontalPopOut property is in effect if the ShowPopOutImages property (MenuSettingsBase.ShowPopOutImages property for MVC) is set to true.

To specify a unified image for all vertical pop-out images of a menu, use the MenuImages.VerticalPopOut 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