【发布时间】:2013-02-07 03:25:28
【问题描述】:
我使用SQLite Datatabase 来存储我在C# and XAML 中开发的Windows 8 Store App 的数据。
现在我正在寻找一种简单的方法来存储 Color 对象,该对象应用作此数据库中的 XAML Color (Windows.UI.Color)。
所以我想我必须在这种情况下将Color 对象转换为字符串或整数!?
我可以使用ToString() 方法将Color 转换为字符串表示形式,但我怎样才能将其转换回来?
【问题讨论】:
标签: c# sqlite xaml colors windows-store-apps