using System.Reflection; namespace qmonlib { [Serializable] public class MonItemGeneral { public string InstanceIdentifier { get; set; } public string Caption { get; set; } public string Description { get; set; } public MonViewType ViewType { get; set; } public List Items { get; set; } = new List(); public class ItemDescriptor { public string Name { get; set; } public string TypeName { get; set; } public string Label { get; set; } public string Description { get; set; } public int Order { get; set; } [NonSerialized] public PropertyInfo? _propertyInfo; } public enum MonViewType { Item, List } } }