Indicates the currently selected items in the report layout.

| Visual Basic (Declaration) | |
|---|---|
Public Class Selection  | |
| C# | |
|---|---|
public class Selection  | |
| C# |  Copy Code | 
|---|---|
// cboPropList_SelectedIndexChanged - runs when the Property List Drop Down is changed private void cboPropList_SelectedIndexChanged(object sender, System.EventArgs e) { this.ardMain.Selection.Select(((ARComboItem)this.comboHashTable[this.cboPropList.SelectedItem.ToString()]).Item); }  | |
| Visual Basic |  Copy Code | 
|---|---|
'cboPropList_SelectedIndexChanged - runs when the Property List Drop Down is changed Private Sub cboPropList_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cboPropList.SelectedIndexChanged Me.ardMain.Selection.Select(CType(Me.comboHashTable(Me.cboPropList.SelectedItem.ToString()), ARComboItem).Item) End Sub 'cboPropList_SelectedIndexChanged  | |
System.Object
   GrapeCity.ActiveReports.Design.Selection