Skip to main content

ImageGallerySettings.Target Property

Gets or sets the window or frame to which to target the content of the URL associated with an item.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

NuGet Package: DevExpress.Web.Mvc5

#Declaration

public string Target { get; set; }

#Property Value

Type Description
String

A string which identifies the window or frame to which to target the URL content.

#Remarks

If the ImageGalleryItem.NavigateUrl (via the MVCxImageGalleryItem.NavigateUrl) property is defined, use the Target property to target the URL’s content.

The available values are listed in the table below:

Member Description
name The name of the target window or frame.
_blank Loads the linked document into a new blank window. This window is not named.
_parent Loads the linked document into the immediate parent of the document the link is in.
_search Loads the linked document into the browser search pane.
_self Loads the linked document into the window in which the link was clicked (the active window).
_top Loads the linked document into the topmost window.
See Also