public override void ReadXml(System.Xml.XmlReader reader) { reader.ReadAttrAsString("Action", ref this.Action); reader.ReadAttrAsString("MoveAction", ref this.MoveAction); reader.ReadAttrAsString("ReleaseAction", ref this.ReleaseAction); var newEvent = reader["Event"]; if (newEvent != null) { this.Event = newEvent; } base.ReadXml(reader); }
public override void ReadXml(System.Xml.XmlReader reader) { reader.ReadAttrAsString("Value", ref this.Value); reader.ReadAttrAsEnum <XValueComparison>("Compare", ref this.Compare); base.ReadXml(reader); }
public override void ReadXml(System.Xml.XmlReader reader) { reader.ReadAttrAsString("TextureId", ref this.TextureId); reader.ReadAttrAsEnum <XImageStretchMode>("StretchMode", ref this.StretchMode); reader.ReadAttrAsEnum <XFlipEffects>("FlipEffects", ref this.FlipEffects); base.ReadXml(reader); }