I have a DataGridTextColumn binded with a CompositeCollection
of 4 ObservableCollection
One of the DataGridTextColumn
, binded like this:
<DataGrid x:Name="DonneesBrutes" IsReadOnly="True" ItemsSource="{Binding Path=.cmpc}" Margin="10,65,0,0" AutoGenerateColumns="False" EnableRowVirtualization="True" RowDetailsVisibilityMode="VisibleWhenSelected">
<DataGrid.Columns>
<DataGridTextColumn x:Name="Ligne" Width="*" Binding="{Binding Path=.Remarque}" Header="Ligne" IsReadOnly="True"></DataGridTextColumn>
Where cmpc is my CompositeCollection
and Where Ligne mustn't get a null value.
Problem, I takes a lot of null values like in this screen shot: http://www.zimagez.com/zimage/compositecollection.php
How can I ignore every lines where it has a null value? Is something like IsNullAble = false
exists for a DataGridTextColumn
?