public static int RegisterProperty(IProperty property) { int uniqueSortValue = PropertySortValue.GetUniqueSortValue(property.UniqueName, 1); PropertySortValue.sortValues.Add(uniqueSortValue); return(uniqueSortValue); }
public static int RegisterDesignTimeProperty(IPropertyId property) { int uniqueSortValue = PropertySortValue.GetUniqueSortValue(string.Concat("__BLEND", property.Name), PropertySortValue.DesignTimeSeedSortValue); PropertySortValue.sortValues.Add(uniqueSortValue); return(uniqueSortValue); }