MojTyp by mel implementovat INotifyPropertyChanged 1. odstranit polozku z kolekce 2. trigger na datagrid, nejak takhle: <DataGrid ItemsSource="{Binding Path=Data}" > <DataGrid.Style> <Style TargetType="DataGrid"> <Setter Property="RowStyle"> <Setter.Value> <Style TargetType="DataGridRow"> <Style.Triggers> <DataTrigger Binding="{Binding Path=Deleted}" Value="True"> <Setter Property="Visibility" Value="Collapsed" /> </DataTrigger> </Style.Triggers> </Style> </Setter.Value> </Setter> </Style> </DataGrid.Style> </DataGrid>
|