Set value to null in WPF binding

后端 未结 3 631
借酒劲吻你
借酒劲吻你 2020-11-28 21:37

please take a look at the following line


This Price property from above is a Decimal?

3条回答
  •  臣服心动
    2020-11-28 22:31

    I am using .NET 3.5 SP1 so it's very simple:

    
    

    Which stands for (thanks Gregor for your comment):

    
    

    sys is the imported xml namespace for System in mscorlib:

    xmlns:sys="clr-namespace:System;assembly=mscorlib"
    

    Hope that helped.

提交回复
热议问题