Example #1
0
 public UxProperty(
     Action <object, object, object> setter,
     Func <object, object> getter,
     Uno.UX.PropertyObject obj,
     string name,
     bool supportsOriginSetter)
     : base(new Uno.UX.Selector(name))
 {
     _setter = setter;
     _getter = getter;
     _obj    = obj;
     _supportsOriginSetter = supportsOriginSetter;
 }
Example #2
0
 public override void Set(Uno.UX.PropertyObject obj, T value, Uno.UX.IPropertyListener origin)
 {
     _setter(obj, value, origin);
 }