예제 #1
0
 /// <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"));
 }
예제 #2
0
 /// <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");
예제 #3
0
 public void WriteXml(System.Xml.XmlWriter writer)
 {
     writer.WriteAttributeString("Value", "#" + ARGB.ToString("X8"));
 }