WPF Binding - StringFormat - Not Formatting

后端 未结 7 1575
迷失自我
迷失自我 2020-12-16 12:13

I have a ToolTip with a value set as:

Value=\"{Binding Path=DataItem.EquitySold, StringFormat=Reserved (Equity Share: \\{0\\}%)}\"

The tool

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-16 12:56

    I assume it is what your datatype supports - as far as I know it is passed on as arguments to IFormattable.

提交回复
热议问题