XAML中格式化日期

要求被格式化数据的类型是DateTime

StringFormat='yyyy-MM-dd'

StringFormat={}{0:yyyy-MM-dd}

原文地址:https://www.cnblogs.com/changbaishan/p/9144584.html