public override void GenerateXmlAttributes(System.Xml.XmlWriter writer) { base.GenerateXmlAttributes(writer); if (FillColor.IsNotWhiteSpace()) { writer.WriteAttributeString("fillColor", FillColor); } if (FillAlpha.HasValue) { writer.WriteAttributeString("FillAlpha", FillAlpha.ToString()); } if (FillRatio.IsNotWhiteSpace()) { writer.WriteAttributeString("FillRatio", FillRatio); } if (FillAngle.IsNotWhiteSpace()) { writer.WriteAttributeString("FillAngle", FillAngle); } if (FillPattern.HasValue) { writer.WriteAttributeString("FillPattern", FillPattern.ToString()); } if (_border != null) { _border.GenerateXmlAttributes(writer); } }