Fields Property (DataPresenterBase.SelectedItemHolder)

Returns a reference to a collection of the selected Field objects. This property is read-only at run-time. This property is not available at design-time.
Public ReadOnly Property Fields As SelectedFieldCollection
public SelectedFieldCollection Fields {get;}

This property returns a reference to a collection of Field objects that are currently selected.

As fields are selected and deselected, their corresponding Field objects are added to and removed from the SelectedFieldCollection returned by this property.

When a Field is selected or de-selected, the SelectedItemsChanging and SelectedItemsChanged events are raised.


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

See Also