Web表单中控件的x,y位置 [英] location in x,y of a controlin web form

查看:77
本文介绍了Web表单中控件的x,y位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在asp.net上创建Web表单?/c#;

我想知道如何知道坐标;控件的x,y坐标(以像素为单位),如果可能的话,我窗体的长度和宽度(以像素为单位).

感谢

Hi,

I am making a web form in asp.net?/c#;

I want to know how to know the co ordinates; the x, y coordinates ( in pixels) of a control and also if possible what is the length and breadth( in pixels) of my form.

thanks

推荐答案

控件的x,y坐标由您决定,您可以将元素放置在所需的任何位置.

浏览器窗口大小 [
The x,y coordinates of a control are up to you, you can place an element anywhere you''d like.

Browser window size[^]

And, honestly, you could have answered these questions yourself with very little research.


这篇关于Web表单中控件的x,y位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆