[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Design.Selection.-ctor

Selection Constructor

Selection(ISelectionService)

Constructs a new Selection instance using the provided selection service.

Declaration
public Selection(ISelectionService selectionService)
Parameters
Type Name Description
ISelectionService selectionService

An ISelectionService that manages component selection within the designer.

Remarks

This constructor initializes the Selection object with a selection service, which is essential for managing the selection of components in the designer environment. The selection service allows for operations such as querying and modifying the current selection of components.

Exceptions
Type Condition
ArgumentNullException

Thrown if selectionService is null, indicating that a valid selection service is required.