/// <summary> /// Write the properties from the bag to the writer. This method can be overrided for advanced scenarios. /// </summary> /// <param name="jw">The writer.</param> protected override void WriteProperties(DextopJsWriter jw) { base.WriteProperties(jw); WriteItems(jw); if (!String.IsNullOrEmpty(Raw)) { jw.WriteRawJs(Raw); } }