Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
xamlで桁区切り記号を使用してテキストブロックに数値を表示したいが、浮動小数点は使用しない. どうすればいいですか。私は次のコードを試しました:
StringFormat={}{0:N}
浮動小数点を示しています。
StringFormat={}{0:000'.'000}}
それは 001,234 のような 1234 を示しています。
使用する
{Binding StringFormat={}{0:N0}}
バインディングのフォーマットに関する良い記事。