} // LoadColors #endregion #region Load Layer Attributes /// <summary> /// Load Layer Attributes /// </summary> private static void LoadLayerAttribute(SkinLayer skinLayer, XElement e) { string name = ReadAttribute(e, "Name", null, true); SkinAttribute skinAttribute = skinLayer.Attributes[name]; bool inherent = true; if (skinAttribute == null) { skinAttribute = new SkinAttribute(); inherent = false; } skinAttribute.Name = name; ReadAttribute(ref skinAttribute.Value, inherent, e, "Value", null, true); if (!inherent) { skinLayer.Attributes.Add(skinAttribute); } } // LoadLayerAttribute
public SkinAttribute(SkinAttribute source) : base(source) { Value = source.Value; } // SkinAttribute