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
2815
Binding to collection with image through procedural code
posted

I have an object exposing an ImageSource public property.  These objects are in a collection that implements the IEnumerable interface.

Through procedural code, I am able to bind the collection to my XamDataGrid using the latter's DataSource property.

All data is displayed in the grid apart from the images representing each object within the collection.  My XAML setup for the grid is presented below;

 

 <igDP:XamDataGrid Name="dataGrid" Grid.Row="1" ScrollingMode="Immediate" SortRecordsByDataType="False" IsGroupByAreaExpanded="True" >
            <igDP:XamDataGrid.FieldLayoutSettings>
                <igDP:FieldLayoutSettings AllowAddNew="False" AllowDelete="False" HighlightAlternateRecords="True"/>
            </igDP:XamDataGrid.FieldLayoutSettings>
            <igDP:XamDataGrid.FieldSettings>
                <igDP:FieldSettings CellClickAction="SelectRecord" LabelClickAction="SortByOneFieldOnly" AllowEdit="False" AllowGroupBy="True"/>
            </igDP:XamDataGrid.FieldSettings>          
        </igDP:XamDataGrid>

 

My question is how do I get the Image property for each object displayed in the grid?  

 

 TIA.