This project has moved and is read-only. For the latest updates, please go here.

DataGrid Binding Source in Page

Apr 6, 2016 at 6:31 PM
Edited Apr 6, 2016 at 6:57 PM

I try to develop a page based application in WPF. I have a MainWindow, in it, I have a Frame, and I navigate pages in this frame. In some pages, I want to use DataGrid but I cannot show the data on grid. I try the sample in empty project, it works, but I cannot in page.

I think problem is in xaml, in this part:
            <xcdg:DataGridCollectionViewSource x:Key="dt_lines" Source="{Binding Source={x:Static Application.Current}, Path=linesDt}"/>
        <xcdg:DataGridControl x:Name="grid" ItemsSource="{Binding Source={StaticResource dt_lines}}"/>

Is there anyone can help me? Thanks.
Apr 6, 2016 at 7:17 PM
Problem is solved. Thanks.