Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        public override void Save(PropertiesBag properties)
        {
            properties.Set(PropertyIconPosition, newIconPosition.ToString());

            base.Save(properties);
        }