我正在尋找一個工具,它可以從一個類生成一個用戶界面。 讓我舉個例子。從類創建UI
這個類有一些僞屬性:
class BussinessModel
{
[UiReadOnly]
[UiSingleLine]
public int Id { get; set; }
[UiSingleLine]
public string Tile { get; set; }
[UiMultiLine]
public string Description { get; set; }
}
可以生成一個UI(XAML的UI)是這樣的:
編輯: 我fogot提約我想要「準備使用」綁定,可以使用當給定的類是視圖模型(MVVM)
有什麼工具可以做這樣的事情(只需點擊一下)?
請查看[PropertyGrid](http://msdn.microsoft.com/en-us/library/system.windows.forms.propertygrid.aspx)... – 2012-07-05 18:30:47