Class FocusEventArgs
Represents the event arguments for focus events in the SfBlockEditor component.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class FocusEventArgs
Remarks
This event is triggered when a block or the block editor gains focus, such as when the user clicks inside the editor or selects a block.
It provides information about the block that received focus and any current text selection.
Constructors
FocusEventArgs()
Declaration
public FocusEventArgs()
Properties
BlockID
Gets or sets the index of the block that has focus or selection.
Declaration
public string BlockID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | An int representing the index of the currently focused block. |
Remarks
This can be used to identify which block in the editor currently has the user's focus.