简体   繁体   English

UWP Xaml控件,用于两列文本+具有自定义编辑器的编辑器

[英]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: 一定有:

  1. Two columns 两列
  2. First column is text - property name 第一栏是文字-属性名称
  3. Second column is editor 第二栏是编辑器

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)

  1. View mode (when editor column is text) and edit mode (when editor column is specific editor) 查看模式(当编辑器列为文本时)和编辑模式(当编辑器列为特定编辑器时)

  2. Allow customize any item 允许自定义任何项目

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM