Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
805
How to Enable EDITING the Field after applying ControlTemplate and Converter
posted

Hi,
Could you please provide the solution for below issue:

My Purpose :I have one "Double" field bounded to WPF XamDataGrid,
and I Need to show the Parenthesis for negative values

Example  -123,005 to be shown as (123,005)

My Approach:I have applied ControlTemplate and Converter to achieve my purpose

Issue : I was NOT able to EDIT this double field after applying the "Control Template" and "Converter"

Thanks,

Parents
No Data
Reply
  • 69686
    posted

    Hello,

    What you can do is to set the ValueToDisplayTextConverter property to a IValueConverter object and use it to wrap the displayed text in paranthesis.

    Let me know if you have questions on this.

Children