---
id: fast-foundation.elementdefinitioncontext.definepresentation
title: ElementDefinitionContext.definePresentation() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [ElementDefinitionContext](./fast-foundation.elementdefinitioncontext.md) &gt; [definePresentation](./fast-foundation.elementdefinitioncontext.definepresentation.md)

## ElementDefinitionContext.definePresentation() method

Defines a presentation for the element.

<b>Signature:</b>

```typescript
definePresentation(presentation: ComponentPresentation): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  presentation | [ComponentPresentation](./fast-foundation.componentpresentation.md) | The presentation configuration. |

<b>Returns:</b>

void
