Formatting Displayed Data
You can specify how the individual data points in your List, Table, or Wide view are displayed. You
can use the FormatString
element when defining the items of your view, or you can use the
ScriptBlock
element to call the FormatString
method on the data.
Using the FormatString Element
In the following example the value of the TotalProcessorTime property of the System.Diagnostics.Process object is formatted using the FormatString element. the TotalProcessorTime property
<TableColumnItem>
<PropertyName>TotalProcessorTime</PropertyName>
<FormatString>{0:MMM}{0:dd}{0:HH}:{0:mm}</FormatString>
</TableColumnItem>
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Visszajelzés
https://aka.ms/ContentUserFeedback.
Hamarosan elérhető: 2024-ben fokozatosan kivezetjük a GitHub-problémákat a tartalom visszajelzési mechanizmusaként, és lecseréljük egy új visszajelzési rendszerre. További információ:Visszajelzés küldése és megtekintése a következőhöz: