using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using GeoSigma.SigmaDrawerStyle; using GeoSigmaDrawLib; using SigmaDrawerStyle; namespace SigmaDrawerElement { /// /// 十字交叉点. /// [TypeConverter(typeof(PropertySorter))] public class DrawerPointCrossName : DrawerPointTwoName { /// /// 属性类别排序 /// private List categorys = new List() { "基础属性", "数据", "其他", "杂项" }; /// /// Initializes a new instance of the class. /// public DrawerPointCrossName() { ElementType = DrawElementType.ELEMENT_CROSSPOINT; } /// /// Gets or sets 分子. /// [Category("数据")] [DisplayName("第一象限"), PropertyOrder(1)] [TypeConverterAttribute(typeof(LocationPropertyConvert))] public new LocationProperty Name1 { get { return base.Name1; } set { base.Name1 = value; } } /// /// Gets or sets 分母. /// [Category("数据")] [DisplayName("第二象限"), PropertyOrder(2)] [TypeConverterAttribute(typeof(LocationPropertyConvert))] public new LocationProperty Name2 { get { return base.Name2; } set { base.Name2 = value; } } /// /// Gets or sets the name3. /// [Category("数据")] [DisplayName("第三象限"), PropertyOrder(3)] [TypeConverterAttribute(typeof(LocationPropertyConvert))] public LocationProperty Name3 { get; set; } /// /// Gets or sets 分母. /// [Category("数据")] [DisplayName("第四象限"), PropertyOrder(4)] [TypeConverterAttribute(typeof(LocationPropertyConvert))] public LocationProperty Name4 { get; set; } } }