---
title: "OAPPropEditProp"
slug: "api/basket/types/oappropeditprop"
sidebar:
  order: 374
---

<a id="ref-3f771d7708bd"></a>
<a id="ref-58c2e4a50baf"></a>
<a id="ref-156fb5980624"></a>

## Synopsis

```text
OAPPropEditProp (
    string propClass,
    string propName,
    boolean visibleOnly,
    boolean editableOnly
)
```


Fields visibleOnly and editableOnly are used to restrict the visibility of individual properties in OAP property editors. If visible and editable are the property-specific flags reported as fields of complex type [Property](/pCon/configuratorOnline/specs/api/basket/types/property), then the corresponding property must be visible if and only if the expression

(visible \|\| !visibleOnly) && (editable \|\| !editableOnly) is true. Or, perhaps more intuitive, they must be hidden if

(visibleOnly && !visible) \|\| (editableOnly && !editable) is false.
