Example #1
0
 public bool TryGetProperty(IPropertyDescriptor property, out IAbstractPropertySetter value)
 {
     ResolvedPropertySetter result;
     value = null;
     if (!Properties.TryGetValue((DotvvmProperty)property, out result)) return false;
     value = result;
     return true;
 }
Example #2
0
        public bool TryGetProperty(IPropertyDescriptor property, out IAbstractPropertySetter value)
        {
            ResolvedPropertySetter result;

            value = null;
            if (!Properties.TryGetValue((DotvvmProperty)property, out result))
            {
                return(false);
            }
            value = result;
            return(true);
        }
Example #3
0
 public void SetProperty(IAbstractControl control, IAbstractPropertySetter setter)
 {
     ((ResolvedControl)control).SetProperty((ResolvedPropertySetter)setter);
 }
Example #4
0
 public bool AddProperty(IAbstractControl control, IAbstractPropertySetter setter, out string error)
 {
     return(((ResolvedControl)control).SetProperty((ResolvedPropertySetter)setter, false, out error));
 }
Example #5
0
 public void SetProperty(IAbstractControl control, IAbstractPropertySetter setter)
 {
     ((ResolvedControl)control).SetProperty((ResolvedPropertySetter)setter);
 }