在 SharePoint 2007 中,是否可以以编程方式将您创建的自定义属性排序到属性窗格的顶部?因此,当有人编辑您的 webpart 时,它会默认显示在顶部,而不是底部,这样用户就不必滚动到底部?
这是我的代码,供参考:
private string _strMainFolder = "Reports";
[WebBrowsable(true)]
[WebDisplayName("Reports SharePoint List Name")]
[SPWebCategoryName("Report WebPart Configuration")]
[WebPartStorage(Storage.Shared)]
[WebDescription("Enter the SharePoint List's name that you want to use.")]
[Personalizable(PersonalizationScope.Shared)]
public string strMainFolder
{
get { return _strMainFolder; }
set { _strMainFolder = value; }
}