Class DocumentEditorEvents
Configures document editor events.
Inheritance
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class DocumentEditorEvents : ComponentBase
Constructors
DocumentEditorEvents()
Declaration
public DocumentEditorEvents()
Properties
AfterCommentEnd
Triggers after posting comment.
Declaration
public EventCallback<object> AfterCommentEnd { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
AfterFormFieldFill
Triggers after form field fill.
Declaration
public EventCallback<FormFieldFillEventArgs> AfterFormFieldFill { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<FormFieldFillEventArgs> |
BeforeAcceptRejectChanges
Triggers before accept/reject tracked content.
Declaration
public EventCallback<RevisionActionEventArgs> BeforeAcceptRejectChanges { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<RevisionActionEventArgs> |
BeforeFormFieldFill
Triggers before form field fill.
Declaration
public EventCallback<FormFieldFillEventArgs> BeforeFormFieldFill { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<FormFieldFillEventArgs> |
BeforePaneSwitch
Trigger before switching panes in DocumentEditor.
Declaration
public EventCallback<BeforePaneSwitchEventArgs> BeforePaneSwitch { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<BeforePaneSwitchEventArgs> |
ContentChanged
Triggers whenever the content changes in the document editor.
Declaration
public EventCallback<ContentChangeEventArgs> ContentChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ContentChangeEventArgs> |
ContextMenuItemSelected
Triggers while selecting the custom context-menu option.
Declaration
public EventCallback<CustomContentMenuEventArgs> ContextMenuItemSelected { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<CustomContentMenuEventArgs> |
Created
Triggers when the component is created.
Declaration
public EventCallback<object> Created { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
Destroyed
Triggers when the component is destroyed.
Declaration
public EventCallback<object> Destroyed { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> | An event callback function. |
DocumentChanged
Triggers whenever document changes in the document editor.
Declaration
public EventCallback<DocumentChangeEventArgs> DocumentChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<DocumentChangeEventArgs> |
MetafileImageParsed
Throws event when a metafile image is parsed on importing a Word document. This event is used to add an equivalent raster image as a fallback.
Declaration
public EventCallback<MetafileImageParsedEventArgs> MetafileImageParsed { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<Syncfusion.Blazor.DocumentEditor.MetafileImageParsedEventArgs> |
OnCommentBegin
Triggers after inserting comment.
Declaration
public EventCallback<object> OnCommentBegin { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<System.Object> |
OnCommentDelete
Triggers before deleting comment.
Declaration
public EventCallback<CommentDeleteEventArgs> OnCommentDelete { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<CommentDeleteEventArgs> |
OnContextMenuOpen
Triggers before opening the custom context-menu option.
Declaration
public EventCallback<BeforeOpenCloseCustomContentMenuEventArgs> OnContextMenuOpen { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<BeforeOpenCloseCustomContentMenuEventArgs> |
OnKeyDown
Triggers whenever key is pressed in the document editor.
Declaration
public EventCallback<DocumentEditorKeyDownEventArgs> OnKeyDown { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<DocumentEditorKeyDownEventArgs> |
OnRequestNavigate
Triggers whenever hyperlink is clicked or tapped in the document editor.
Declaration
public EventCallback<RequestNavigateEventArgs> OnRequestNavigate { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<RequestNavigateEventArgs> |
Parent
Represent document edtitor component.
Declaration
protected SfDocumentEditor Parent { get; set; }
Property Value
Type |
---|
SfDocumentEditor |
SearchResultsChanged
Triggers whenever search results changes in the document editor.
Declaration
public EventCallback<SearchResultsChangeEventArgs> SearchResultsChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<SearchResultsChangeEventArgs> |
SelectionChanged
Triggers whenever selection changes in the document editor.
Declaration
public EventCallback<SelectionChangeEventArgs> SelectionChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<SelectionChangeEventArgs> |
ViewChanged
Triggers whenever container view changes in the document editor.
Declaration
public EventCallback<ViewChangeEventArgs> ViewChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ViewChangeEventArgs> |
ZoomFactorChanged
Triggers whenever zoom factor changes in the document editor.
Declaration
public EventCallback<ZoomFactorChangeEventArgs> ZoomFactorChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ZoomFactorChangeEventArgs> |
Methods
OnInitializedAsync()
Method invoked when the component is ready to start.
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task representing the asynchronous operation. |