![](/img/trans.png)
[英]Custom AnnouncementListItem Visual Web Part in Sharepoint 2010
[英]How can I get Appearance properties vlaues of my custom web part in sharepoint 2010
我正在开发一个Web部件,创建了一个定制属性和控件。 但我需要在Web部件的外观组中读取宽度值。 如何在codebehind中访问这些值?
在WebPart类中,您可以仅使用其Width属性 :
Unit width = this.Width;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.