[英]UWP Xaml control for two column text + editor with custom editor
Which control use for organize for CustomObject editor. 哪个控件用于组织CustomObject编辑器。
Same is PropertyGrid from WinForms WinForms的PropertyGrid也是如此
public Goods
{
public string Caption { get; }
public string Name { get; set; }
public bool Enabled { get; set; }
public DateTime Date { get; set; }
public Reference ReferenceShort { get; set; }
public Reference ReferenceLong { get; set; }
}
public Reference
{
public Guid Id { get; }
public string Name { get; set; }
}
Must have: 一定有:
a) text (Caption) a)文字(标题)
c) radiobutton (Enabled) c)单选按钮(启用)
b) text editor (Name) b)文本编辑器(名称)
c) date picker (Date) c)日期选择器(日期)
d) combobox (ReferenceShort) d)组合框(ReferenceShort)
e) text editor + button (ReferenceLong) e)文字编辑器+按钮(ReferenceLong)
View mode (when editor column is text) and edit mode (when editor column is specific editor) 查看模式(当编辑器列为文本时)和编辑模式(当编辑器列为特定编辑器时)
Allow customize any item 允许自定义任何项目
您在这里有一个PropertyGrid示例控件: https : //xamltips.wordpress.com/2016/02/12/displaying-details-property-grid-in-xaml/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.