格式化印度卢比在wpf

mad*_*781 3 c# wpf

我想格式化下面提到的印度卢比.

eg.87,15,725

eg.1,37,15,725

eg.47,624

StringFormat={}{0:#\,#}}"我试图将此属性设置为TextBlcok,但我很有价值

53000000.

我需要格式化TextBlock为5,30,00,000前3个数字我想要逗号(,)将是StringFormat相同的.

Cub*_*key 7

您需要指定您的文化代码,使其看起来如下所示:

TextBlock Text="{Binding Value, StringFormat=C, ConverterCulture=hi-IN}" 
Run Code Online (Sandbox Code Playgroud)