Skip to main content
A newer version of this page is available. .
Tab

PopupWindow.Top Property

Gets or sets the y-coordinate of the current popup window’s top side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

[DefaultValue(0)]
public int Top { get; set; }

Property Value

Type Default Description
Int32 0

An integer value specifying the y-coordinate of the popup window’s top side.

Remarks

The Top property is not in effect for a popup window if the window’s PopupWindow.PopupElementID property is specified.

The Top property allows you to specify a value that represents the y-coordinate of a popup window’s top side. To completely define the popup window’s position, you must specify a value for this property and for the PopupWindow.Left property. A popup window can be displayed at the specified position if the window’s PopupWindow.ShowOnPageLoad property is set to true or by calling the client ASPxClientPopupControl.ShowWindow method which references this window.

Note

You cannot specify a common y-coordinate for the top side of all popup windows from the ASPxPopupControl.Windows collection by using the popup control’s ASPxPopupControlBase.Top property. This property is not in effect when the ASPxPopupControl.Windows collection is not empty. In this case, you should use the Top property whose value is typically specific for each individual popup window.

See Also