public object?ReadLocalValue(BasicUIProperty property) { if (_properties.TryGetValue(property, out object?value)) { return(value); } return(UnsetValue.Instance); }
public object?GetValue(BasicUIProperty property) { if (_properties.TryGetValue(property, out object?value)) { return(value); } return(property.DefaultValue); }
public void ClearValue(BasicUIProperty property) { _properties.Remove(property); }
public void SetValue(BasicUIProperty property, object?value) { _properties[property] = value; }