public void Bind(string propertyName, SRF.Helpers.IPropertyReference prop) { PropertyName = propertyName; _prop = prop; _isReadOnly = !prop.CanWrite; OnBind(propertyName, prop.PropertyType); Refresh(); }
public OptionDefinition(string name, string category, int sortPriority, SRF.Helpers.IPropertyReference property) : this(name, category, sortPriority) { Property = property; }