Supplies information about a DateRender event that is being raised.
Object
Namespace: Radzen
Assembly: Radzen.Blazor.dll
public class DateRenderEventArgsSupplies information about a DateRender event that is being raised.
public DateRenderEventArgs()Gets or sets the HTML attributes that will be applied to item HTML element.
public IDictionary<string, object> Attributes { get; }
| Type | Description |
|---|---|
| IDictionary<string, object> | Gets or sets the HTML attributes that will be applied to item HTML element. |
void OnDateRender(DateRenderEventArgs args) { args.Attributes["style"] = "background-color: red; color: black;"; }
Gets the date which the rendered item represents.
public DateTime Date { get; }
| Type | Description |
|---|---|
| DateTime | Gets the date which the rendered item represents. |
Gets or sets a value indicating whether the rendered item is disabled.
public bool Disabled { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets a value indicating whether the rendered item is disabled. |