/// <summary> /// Registers a popular property (shown first in the property grid). /// </summary> public static void AddPopularProperty(DependencyProperty p) { lock (popularProperties) { popularProperties.Add(p.GetFullName()); } }
/// <summary> /// Hides the specified property (marks it as not browsable). /// </summary> public static void HideProperty(DependencyProperty p) { lock (hiddenProperties) { hiddenProperties.Add(p.GetFullName()); } }
/// <summary> /// Registers the value range for the property. /// </summary> public static void AddValueRange(DependencyProperty p, double min, double max) { lock (ranges) { ranges[p.GetFullName()] = new NumberRange() { Min = min, Max = max }; } }