Data Presenter Manager Columns - Binding Complex Types

6 replies. Last post: May 19, 2013 9:24 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Hello,

I am having problems when binding complex types to the Data Presenter Manager.  I have been able to explicitely define text columns with no issue.  Below is a sample of my XAML

In this example, the overlying context is a collection of Journals.
Each Journal has a complex type,  JournalType, that has the string property Description.

However when running, it shows the data is there yet does not properly display the Description.  Is there a "DisplayMemberPath" (UXComboBox) like property that I should be utilizing?
    <Intersoft:DataPresenterTextColumn Caption="Type" DataMemberField="JournalType">
                        <Intersoft:DataPresenterTextColumn.CellTemplate>
                            <DataTemplate>
                                <TextBlock Text="{Binding Description}" />
                            </DataTemplate>
                        </Intersoft:DataPresenterTextColumn.CellTemplate>
    </Intersoft:DataPresenterTextColumn>

Regards, 
Kat


All times are GMT -5. The time now is 2:17 PM.
Previous Next