# DateRenderEventArgs Class

Supplies information about a DateRender event that is being raised.

Namespace: [Radzen](https://blazor.radzen.com/docs/api/Radzen.md)

Assembly: Radzen.Blazor.dll

## Inheritance

- Object
- DateRenderEventArgs

## Syntax

```csharp
public class DateRenderEventArgs
```

## Constructors

| Constructor | Description |
|-------------|-------------|
| `public DateRenderEventArgs()` | Supplies information about a DateRender event that is being raised. |

## Properties

| Property | Type | Description |
|------|------|-------------|
| Attributes | `IDictionary<string, object>` | Gets or sets the HTML attributes that will be applied to item HTML element. |
| Date | `DateTime` | Gets the date which the rendered item represents. |
| Disabled | `bool` | Gets or sets a value indicating whether the rendered item is disabled. |

### Attributes example

void OnDateRender(DateRenderEventArgs args)
            {
                args.Attributes["style"] = "background-color: red; color: black;";
            }

