public object ToJsObject() { var jObj = this.ToDynamic(); if (!Script.IsNaN(Classes)) { jObj.classes = Classes.ToJsDynamic(); } if (!Script.IsNaN(IconPosition)) { jObj.iconPosition = IconPosition.ToString(); } return(jObj); }
public override void Save(PropertiesBag properties) { properties.Set(PropertyIconPosition, newIconPosition.ToString()); base.Save(properties); }