BcfRowViewRepositoryFilter Property |
[This is preliminary documentation and is subject to change.]
Namespace: CalculationWorks.ViewModel.Windows
Default value is an empty ImmutableArray<BcfRowFilter>.
Row filtering prevents construction of BcfRowViews. It is one way to reduce memory pressure when dealing with many rows. Keep in mind: when a rowviews parent-rowview is filtered out; the parent rowview-property is null (and the corresponding BcfParentRelationCell.ParentRow is not). The same with child rowviews: If some child-rowviews are filtered out the child-rowview collection contains less items then the corresponding BcfChildRelationCell.
Setting Filter will NOT cause any change until the next DataChanged-event of view-managers DataSet. Call ReloadData after setting row-filters to create a consistent state.
Processing data-updates with filtered repositories can be an expensive operation when using relations. Consider using view-filters (see SetFilter(PredicateTRowView)) when filtering less than 90 percent of rows.