Binding a DataGridTextColumn to a Method

Aug 4, 2009 at 8:58 PM

Is it possible to bind a DataGridTextColumn to a method?

In a related forum, it is clearly stated that data binding to a method is not possible when using a DataGridView.  The possible workarounds stated were 1) creating a CustomPropertyDescriptor, overriding the GetValue method, and getting the value from the method, or 2) handling the DataGridView's CellFormatting event, and getting the value from the method.

What are the recommended workarounds to bind a DataGridTextColumn to a method when using a WPF DataGrid?

Thanks in advance for your help.

C. Marchani

Mar 30, 2011 at 8:02 AM

HI , if u have the solution for binding a method to data grid cell /ccontrol inside cell please post.

Thanks 

RP.