Class BlurEventArgs
Provides event arguments for the blur event when a calendar component loses focus.
Inheritance
System.Object
BlurEventArgs
Namespace: Syncfusion.Blazor.Calendars
Assembly: Syncfusion.Blazor.dll
Syntax
public class BlurEventArgs : Object
Remarks
This class encapsulates the data associated with the blur event, which is triggered when a calendar component loses input focus. The event arguments include model information that can be used to determine the state of the component when focus is lost.
Examples
<SfCalendar TValue="DateTime?">
<CalendarEvents TValue="DateTime?" OnBlur="HandleBlur"></CalendarEvents>
</SfCalendar>
@code {
void HandleBlur(BlurEventArgs args)
{
Console.WriteLine($"Calendar lost focus. Model: {args.Model}");
}
}
Constructors
BlurEventArgs()
Declaration
public BlurEventArgs()
Properties
Model
Gets or sets the model associated with the blur event.
Declaration
public object Model { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An |
Remarks
This property contains model information that provides context about the component's state when the blur event is triggered. The model can be used to access component-specific data or configuration at the time focus is lost.