You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
695 B
C#
24 lines
695 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using GeoSigma.SigmaDrawerStyle.Converter;
|
|
|
|
namespace SigmaDrawerElement.Converter
|
|
{
|
|
public class ProportionUnitConverter : BaseDropDownConverter
|
|
{
|
|
private static readonly StandardValuesCollection Values = new StandardValuesCollection(new object[]
|
|
{
|
|
" ", "公里", "千米", "米", "km", "m", " (公里)"," (千米)"," (米)", " (km)", " (m)",
|
|
});
|
|
|
|
public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
|
|
{
|
|
return Values;
|
|
}
|
|
}
|
|
}
|