# DependencyRelation

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Enums](https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Enums/MFiles.DependencyRelation/

Dependency relation enumeration.

- **Full name:** `MFiles.DependencyRelation`
- **Proto file:** [`mfiles/enums.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/enums.proto)

<a id="values"></a>

## Values

| Name | Number | Description |
|---|---|---|
| <a id="v-DEPENDENCY_RELATION_NOTHING"></a>`DEPENDENCY_RELATION_NOTHING` | 0 | No dependency relation. |
| <a id="v-DEPENDENCY_RELATION_FILL"></a>`DEPENDENCY_RELATION_FILL` | 1 | A dependent field (property) is filled automatically based on the value of an owner field (property). |
| <a id="v-DEPENDENCY_RELATION_FILTER"></a>`DEPENDENCY_RELATION_FILTER` | 2 | The possible property values of a dependent field (property) is determined based on the value shown in an owner field (property). |

<a id="used-in-fields"></a>

## Used in fields

- [`OwnerPropertyDef.dependency_relation`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.OwnerPropertyDef/index.md#f-dependency_relation): How this property depends on its owner property: `DEPENDENCY_RELATION_FILTER` limits its values to those that belong to the owner property's value, `DEPENDENCY_RELATION_FILL` fills it automatically from the owner property's value.
