Hello,
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, int his part:
<Grid Grid.Column="1" Grid.Row="1">
Is there anyone can help me? Thanks.
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, int his part:
<Grid Grid.Column="1" Grid.Row="1">
<Grid.Resources>
<xcdg:DataGridCollectionViewSource x:Key="dt_lines" Source="{Binding Source={x:Static Application.Current}, Path=linesDt}"/>
</Grid.Resources>
<xcdg:DataGridControl x:Name="grid" ItemsSource="{Binding Source={StaticResource dt_lines}}"/>
</Grid>Is there anyone can help me? Thanks.