---
title: "Class SitecoreLayoutResponseAttribute"
slug: "sitecore.aspnet.renderingengine.binding.attributes.sitecorelayoutresponseattribute"
abstract: ""
---
# Class SitecoreLayoutResponseAttribute

Binds a [SitecoreLayoutResponse](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.sitecorelayoutresponse.html) object.

## Inheritance

System.Object

SitecoreLayoutResponseAttribute

### Implements

Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata

#### **Namespace**: Sitecore.AspNet.RenderingEngine.Binding.Attributes

##### **Assembly**: Sitecore.AspNet.RenderingEngine.dll

##### Syntax

```csharp
public class SitecoreLayoutResponseAttribute : Attribute

```

### Constructors

#### SitecoreLayoutResponseAttribute()

##### Declaration

```csharp
public SitecoreLayoutResponseAttribute()

```

### Properties

#### BindingSource

##### Declaration

```csharp
public BindingSource BindingSource { get; }

```

##### Property Value

| Type | Description |
| --- | --- |
| Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource |  |

### Implements

Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata
