DateRenderEventArgs Class

Supplies information about a DateRender event that is being raised.

Inheritance

Object

DateRenderEventArgs

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class DateRenderEventArgs

Constructors

DateRenderEventArgslink

Supplies information about a DateRender event that is being raised.

Declaration
public DateRenderEventArgs()

Properties

Attributeslink

Gets or sets the HTML attributes that will be applied to item HTML element.

Declaration
public IDictionary<string, object> Attributes { get; }
Property Value
Type Description
IDictionary<string, object>Gets or sets the HTML attributes that will be applied to item HTML element.
Examples

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

Datelink

Gets the date which the rendered item represents.

Declaration
public DateTime Date { get; }
Property Value
Type Description
DateTimeGets the date which the rendered item represents.

Disabledlink

Gets or sets a value indicating whether the rendered item is disabled.

Declaration
public bool Disabled { get; set; }
Property Value
Type Description
boolGets or sets a value indicating whether the rendered item is disabled.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙