---
schema_version: "1"
id: e6b3fc0da6ac730713fad3d7de73a91aabdc260eaa5457434293714d4347d29d
title: VisualEditor Namespace
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_namespace_VisualEditor.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_namespace_VisualEditor.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1e716b36f7520620f0a4d24f239e4dd1e66846a5e175051f0d711f4aa9c8f375
description: The VisualEditor namespace provides classes and methods for interacting with the Lightning App Builder. The classes and methods in this namespace operate on Lightning components, which include Lightning web components and Aura components.
---
# VisualEditor Namespace

The VisualEditor namespace provides classes and methods for interacting with the Lightning App Builder. The classes and methods in this namespace operate on Lightning components, which include Lightning web components and Aura components.

As of Spring ’19 (API version 45.0), you can build Lightning components using two programming models: the Lightning Web Components model, and the original Aura Components model. Lightning web components are custom HTML elements built using HTML and modern JavaScript. Lightning web components and Aura components can coexist and interoperate on a page.

Configure Lightning web components and Aura components to work in Lightning App Builder and Experience Builder. Admins and end users don’t know which programming model was used to develop the components. To them, they’re simply Lightning components.

The following are the classes in the VisualEditor namespace.

- **[DataRow Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_VisualEditor_DataRow.htm#apex_class_VisualEditor_DataRow)**  
    Contains information about one item in a picklist used in a Lightning component on a Lightning page.
- **[DesignTimePageContext Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_VisualEditor_DesignTimePageContext.htm#apex_class_VisualEditor_DesignTimePageContext)**  
    A class that provides context information about a Lightning page. It can be used to help define the values of a picklist in a Lightning component on a Lightning page based on the page’s type and the object with which it’s associated.
- **[DynamicPickList Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_VisualEditor_DynamicPickList.htm#apex_class_VisualEditor_DynamicPickList)**  
    An abstract class, used to display the values of a picklist in a Lightning component on a Lightning page.
- **[DynamicPickListRows Class](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_VisualEditor_DynamicPickListRows.htm#apex_class_VisualEditor_DynamicPickListRows)**  
    Contains a list of picklist items in a Lightning component on a Lightning page.