protected override void LoadAttributes(IXmlElement element) { base.LoadAttributes(element); if (this.propertyType.Length > 0) { Property property = this.Engine.CreateProperty(this.propertyType, this.Name, "", this.textReference); if (null != property) { this.Property = property; } } }
internal void LoadAttributes(IXmlElement element) { base.Name = element.GetAttributeValue("name", base.Name); this.text = element.GetAttributeValue("text", this.text); this.Icon = element.GetAttributeValue("icon", this.Icon); }