# ExposedDropdownMenuAnchorType

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/ExposedDropdownMenu.kt+class:androidx.compose.material3.ExposedDropdownMenuAnchorType) Common/AllAndroid/JVM
- Cmn

  ```
  value class ExposedDropdownMenuAnchorType
  ```

*** ** * ** ***

The type of anchor for an exposed dropdown menu.

## Summary

| ### Public companion properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType#PrimaryEditable()` An editable primary anchor of the dropdown menu, such as a text field that allows user input. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType#PrimaryNotEditable()` A non-editable primary anchor of the dropdown menu, such as a read-only text field. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType#SecondaryEditable()` A secondary anchor of the dropdown menu that lives alongside an editable primary anchor, such as an icon within an editable text field. | Cmn |

| ### Public functions |
|---|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ExposedDropdownMenuAnchorType#toString()()` | Cmn |

## Public companion properties

### PrimaryEditable

Cmn

```
val PrimaryEditable: ExposedDropdownMenuAnchorType
```

An editable primary anchor of the dropdown menu, such as a text field that allows user input.

When this anchor opens the menu, focus will remain on the text field in order to allow typing.

### PrimaryNotEditable

Cmn

```
val PrimaryNotEditable: ExposedDropdownMenuAnchorType
```

A non-editable primary anchor of the dropdown menu, such as a read-only text field.

When this anchor opens the menu, focus will move to the menu.

### SecondaryEditable

Cmn

```
val SecondaryEditable: ExposedDropdownMenuAnchorType
```

A secondary anchor of the dropdown menu that lives alongside an editable primary anchor, such as an icon within an editable text field.

When this anchor opens the menu, if accessibility services are enabled, focus will move to the menu. Otherwise, focus will remain on the text field in order to allow typing.

## Public functions

### toString

Cmn

```
open fun toString(): String
```