关于PropertyGrid控件的详细用法请参考文献: 1.C# PropertyGrid控件应用心得 2.C#自定义PropertyGrid属性 首先定义一个要在下拉框显示的控件: using System; using System.Windows.Forms; namespace Simon.WinForms.Examples.PropertyGrid { public class EditorControl : UserControl { public EditorControl() {
==============================翻译============================== 运行该应用程序并浏览到Movies控制器通过将/Movies追加到您的浏览器的地址栏中的 URL.将鼠标指针悬停在编辑链接,看到它链接到的 URL. 编辑链接是由Views\Movies\Index.cshtml视图中的Html.ActionLink方法生成的: @Html.ActionLink("Edit", "Edit", new { i