您可以指定如何顯示清單、表格或寬視野中的個別資料點。 您可以在 FormatString 定義您的視圖專案時使用專案,也可以使用專案 ScriptBlock 來呼叫 FormatString 資料上的方法。
使用格式格式元素
在下列範例中, TotalProcessorTime 系統 的屬性值是使用格式值元素來格式化。 TotalProcessorTime屬性
<TableColumnItem>
<PropertyName>TotalProcessorTime</PropertyName>
<FormatString>{0:MMM}{0:dd}{0:HH}:{0:mm}</FormatString>
</TableColumnItem>