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; }
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); }
public void SetProperty(IAbstractControl control, IAbstractPropertySetter setter) { ((ResolvedControl)control).SetProperty((ResolvedPropertySetter)setter); }
public bool AddProperty(IAbstractControl control, IAbstractPropertySetter setter, out string error) { return(((ResolvedControl)control).SetProperty((ResolvedPropertySetter)setter, false, out error)); }