Hello All,
I am autogenerating fields and would like to convert, for example, an attribute named "Start_Time" to a field label of "Start Time". My first thought on how to do this is to insert a value converter between the attribute name and the field label. This value converter would replace "_" characters with spaces. Is this possible? If so, how may I do it? If not, are there other approaches I can take?
Thanks,
Dave
Hello Dave,
I apologize that this post was not answered sooner. We are making the effort to ensure all posts are addressed by an Infragistics expert.
You can handle the FieldLayoutIntialized event of the XamDataGrid and iterate through the FieldLayout's Fields and use the Convert method of the converter (IValueConverter) to set the Label property of each field.
Thank you!