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
155
Binding Data to xamMultiColumnComboEditor
posted

Hi,

I'm using Infragistics 16.1 xamMultiColumnComboEditor. I want to convert the column text from bool to string. For example, say I have Person Class and RelationShip property as bool I want to display it as Single/Married in the RelationShip column of the xamMultiColumnComboEditor. Can you please advise on it?

xamMultiColumnComboEditiorSample.zip
  • 28925
    Verified Answer
    Offline posted

    Hello Manojkumar,

    Thank you for contacting Infragistics. I modified and reattached your sample to utilize a converter for your TextComboColumn. The column objects expose a ValueConverter property which you can bind to a static resource that utilizes a class you'll need that implements IValueConverter. This class can change True and False values to any output you want as a string.

    Please see the sample attached for more details and let me know if you have any questions.

    xamMultiColumnComboEditiorSample.zip