Gets or sets the Y-coordinate of the location of this control.
Namespace: MindFusion.Common
File: Control.js
The following code uses the top property to specify the location of a Window instance:
JavaScript Copy Code |
---|
window = new ui.Window(); window.top = ui.Unit.percentage(25); window.left = ui.Unit.percentage(25); window.width = ui.Unit.pixel(400); window.height = ui.Unit.pixel(300); |