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


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


<h2 id="findviewtreecompositioncontext">findViewTreeCompositionContext</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
fun View.findViewTreeCompositionContext(): CompositionContext?
```


Returns the parent `CompositionContext` for this point in the view hierarchy, or `null` if none
can be found.

See `compositionContext` to get or set the parent `CompositionContext` for a specific view.