Class DocumentEditorContainerEvents
Configures document editor container events.
Inheritance
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.DocumentEditor.dll
Syntax
public class DocumentEditorContainerEvents : ComponentBase
Constructors
DocumentEditorContainerEvents()
Declaration
public DocumentEditorContainerEvents()
Properties
BeforeAcceptRejectChanges
Triggers before accept/reject tracked content.
Declaration
public EventCallback<RevisionActionEventArgs> BeforeAcceptRejectChanges { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<RevisionActionEventArgs> |
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 container.
Declaration
public EventCallback<ContainerContentChangeEventArgs> ContentChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ContainerContentChangeEventArgs> |
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 container.
Declaration
public EventCallback<ContainerDocumentChangeEventArgs> DocumentChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ContainerDocumentChangeEventArgs> |
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> |
OnToolbarClick
Triggers when toolbar item is clicked.
Declaration
public EventCallback<ClickEventArgs> OnToolbarClick { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ClickEventArgs> |
Parent
Represent document edtitor container element.
Declaration
protected SfDocumentEditorContainer Parent { get; set; }
Property Value
Type |
---|
SfDocumentEditorContainer |
SelectionChanged
Triggers whenever selection changes in the document editor container.
Declaration
public EventCallback<ContainerSelectionChangeEventArgs> SelectionChanged { get; set; }
Property Value
Type |
---|
Microsoft.AspNetCore.Components.EventCallback<ContainerSelectionChangeEventArgs> |
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. |