---
title: "ThreePaneScaffoldAdaptStrategies"
description: "The adaptation specs of [ThreePaneScaffold]. This class denotes how each pane of
[ThreePaneScaffold] should be adapted. It should be used as an input parameter of
[calculateThreePaneScaffoldValue] to decide the [ThreePaneScaffoldValue]."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalMaterial3AdaptiveApi
class ThreePaneScaffoldAdaptStrategies(
    private val primaryPaneAdaptStrategy: AdaptStrategy,
    private val secondaryPaneAdaptStrategy: AdaptStrategy,
    private val tertiaryPaneAdaptStrategy: AdaptStrategy
)
```


The adaptation specs of `ThreePaneScaffold`. This class denotes how each pane of
`ThreePaneScaffold` should be adapted. It should be used as an input parameter of
`calculateThreePaneScaffoldValue` to decide the `ThreePaneScaffoldValue`.

#### Parameters

| | |
| --- | --- |
| primaryPaneAdaptStrategy | `AdaptStrategy` of the primary pane of `ThreePaneScaffold` |
| secondaryPaneAdaptStrategy | `AdaptStrategy` of the secondary pane of `ThreePaneScaffold` |
| tertiaryPaneAdaptStrategy | `AdaptStrategy` of the tertiary pane of `ThreePaneScaffold` |



## Functions

```kotlin
operator fun get(role: ThreePaneScaffoldRole): AdaptStrategy
```


