---
title: "Class SitecoreRouteFieldsAttribute"
slug: "sitecore.aspnet.renderingengine.binding.attributes.sitecoreroutefieldsattribute"
abstract: ""
---
# Class SitecoreRouteFieldsAttribute

Binds all fields for a Sitecore [Route](https://doc.sitecore.com/xp/en/developers/hd/21/sitecore-asp-dot-net-rendering-sdk/sitecore.layoutservice.client.response.model.route.html).

## Inheritance

System.Object

SitecoreRouteFieldsAttribute

### Implements

Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata

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

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

##### Syntax

```csharp
public class SitecoreRouteFieldsAttribute : Attribute

```

### Constructors

#### SitecoreRouteFieldsAttribute()

##### Declaration

```csharp
public SitecoreRouteFieldsAttribute()

```

### Properties

#### BindingSource

##### Declaration

```csharp
public BindingSource BindingSource { get; }

```

##### Property Value

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

### Implements

Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceMetadata
