'Declaration Protected Overridable Sub OnSelectedItemsChanged( _ ByVal args As SelectedItemsChangedEventArgs _ )
protected virtual void OnSelectedItemsChanged( SelectedItemsChangedEventArgs args )
Three types of items can be selected, Records, Cells and Fields. This functionality is controlled by the following properties:
The SelectedItems object exposes 3 collections (DataPresenterBase.SelectedItemHolder.Records, DataPresenterBase.SelectedItemHolder.Cells and DataPresenterBase.SelectedItemHolder.Fields) that can can be used to select/de-select specific items. In addition, selection can be affected by setting the Record's Record.IsSelected, the Cell's Cell.IsSelected and the Field's Field.IsSelected properties.
The following describes how selection behaves in various scenarios:
Note: Record and Cell selection is mutually exclusive. Selecting one or more Records will automatically clear the Cell selection and vice versa.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
DataPresenterBase Class
DataPresenterBase Members
FieldLayoutSettings Property
SelectionTypeCell Property
SelectionTypeField Property
SelectionTypeRecord Property
FieldSettings Property
LabelClickAction Property
SelectedItems Property
SelectedItemsChanging Event
DataPresenterBase.SelectedItemHolder Class
SelectedItemsChanged Event
SelectedItemsChangedEvent Field
SelectedItemsChangedEventArgs Class