/// <summary> /// Returns a hexadecimal <see cref="String"/> that represents this color. /// </summary> /// <returns> /// A hexadecimal <see cref="String"/> that represents this color. /// </returns> public override string ToString() { return("#" + ARGB.ToString("X8")); }
/// <summary> /// Returns a hexadecimal <see cref="System.String" /> that represents this color. /// </summary> /// <returns> /// A hexadecimal <see cref="System.String" /> that represents this color. /// </returns> public override string ToString() => "#" + ARGB.ToString("X8");
public void WriteXml(System.Xml.XmlWriter writer) { writer.WriteAttributeString("Value", "#" + ARGB.ToString("X8")); }