点击或拖拽改变大小

MobileControlTop 属性

获取或设置控件的上边缘的 y 坐标。

命名空间:  Smobiler.Core.Controls
程序集:  Smobiler.Core (在 Smobiler.Core.dll 中) 版本:6.0.641.16928
语法
public virtual int Top { get; set; }

属性值

类型:Int32
控件的上边缘的 y 坐标。
备注
Top 属性值等效于控件的 Location 属性值的 Point.Y 属性。 对 Height 和 Top 属性值所做的更改导致该控件的 Bottom 属性值更改。
参见