menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FocusEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FocusEventArgs

    Defines the event arguments for the focus event in input components.

    Inheritance
    System.Object
    FocusEventArgs
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FocusEventArgs : Object
    Remarks

    This class is used when an input component receives focus. The focus event occurs when users click on the input field or navigate to it using keyboard navigation, providing an opportunity to initialize or prepare the input for user interaction.

    Constructors

    FocusEventArgs()

    Declaration
    public FocusEventArgs()

    Properties

    Model

    Gets or sets the model object associated with the focus event.

    Declaration
    public object Model { get; set; }
    Property Value
    Type Description
    System.Object

    An object representing the component model or data context, or null if no model is associated.

    Remarks

    The model property provides access to the underlying data model of the input component that received focus. This can be used for initialization, data binding, or other model-related operations when the component becomes active.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved