[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Selection.Select

Select Method

Select(object)

Replaces the current selection with the specified object.

Declaration
public void Select(object selectedObject)
Parameters
Type Name Description
object selectedObject

The object to select. This becomes the only selected object in the designer.

Remarks

This method changes the current selection to the specified object, effectively deselecting any previously selected objects. It is equivalent to setting the selection with Replace, which means the new selection replaces the old one entirely.

Select(object, bool)

Adds the specified object to the current selection or makes it the primary selection.

Declaration
public void Select(object selectedObject, bool continuous)
Parameters
Type Name Description
object selectedObject

The object to add to the selection or make primary.

bool continuous

If true, adds the object to the current selection. If false, makes the object the only selected item.

Remarks

This method modifies the current selection based on the value of continuous. If continuous is true, the specified object is added to the current selection, maintaining any existing selections. If continuous is false, the current selection is replaced with the specified object, making it the primary selection. This behavior aligns with the Primary selection type.