Class DateRenderEventArgs
- Namespace
- Radzen
- Assembly
- Radzen.Blazor.dll
Supplies information about a DateRender event that is being raised.
public class DateRenderEventArgs
- Inheritance
-
DateRenderEventArgs
- Inherited Members
Constructors
DateRenderEventArgs()
public DateRenderEventArgs()
Properties
Attributes
Gets or sets the HTML attributes that will be applied to item HTML element.
public IDictionary<string, object> Attributes { get; }
Property Value
- IDictionary<string, object>
The attributes.
Examples
void OnDateRender(DateRenderEventArgs args) { args.Attributes["style"] = "background-color: red; color: black;"; }
Date
Gets the date which the rendered item represents.
public DateTime Date { get; }
Property Value
Disabled
Gets or sets a value indicating whether the rendered item is disabled.
public bool Disabled { get; set; }
Property Value
- bool
true
if disabled; otherwise,false
.