Skip to main content

View Repository Page

  • 2 minutes to read

The View Repository page enables you to manage a grid control’s View repository (i.e. customize a collection of Views). This page provides access to a grid’s GridControl.ViewCollection collection. Views in this repository can be used as pattern Views or assigned to the GridControl.MainView property.

This page is shown in the image below.

View Repository

The collection of Views can be managed using the buttons located at the top of the page. These buttons are described below.

  • Add - creates a new View of a particular type and appends it to the repository. The View’s type is displayed on the button, as shown below.

    View Repository_AddButton

    The Down Arrow button invokes a dropdown that contains a list of available View types. Once the desired View has been selected, it is added to the repository and its type is displayed on the Add button.

    View Repository_DropDown

  • Remove - removes the selected View from the repository. The View cannot be removed from the collection if it is assigned to a grid level.

Once a View has been added to the repository, its name and type are displayed within the Views list (see the top image). The selected View’s settings can be changed using the property grid.

See Also