Xceed.Silverlight.DataGrid.v2.0 Assembly > Xceed.Silverlight.DataGrid Namespace > SelectionRange Class : SelectionRange Constructor |
Overload | Description |
---|---|
SelectionRange Constructor() | |
SelectionRange Constructor(Object) | |
SelectionRange Constructor(FilterExpressionBase,Predicate<Object>) | Initializes a new instance of the SelectionRange class specifying filtering criteria. If this constructor is used, all items that pass the filter(s) will be selected. |
SelectionRange Constructor(IEnumerable<SortDescription>,FilterExpressionBase,Predicate<Object>) | Initializes a new instance of the SelectionRange class specifying sorting and filtering criteria. This constructor is to be used when a start and/or end need to be specified for the SelectionRange (see StartRangeInfos and EndRangeInfos properties). |
Predicates (i.e., filter parameter of various SelectionRange ctors) are executed locally meaning that when the BeginGetSelectedItems and EndGetSelectedItems are called and a selection range that provides a predicate is used, items will be retrieved from the server in order to determine those that pass the filter.
If one or more start and end range information is provided and/or a filter expression, only the items that are not already excluded by the range information and filter expression will be retrieved.
In a virtualized environment, it is not recommended to use the filter predicate unless dealing with a very limited number of items.
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family