Class BeforeQuickToolbarOpenArgs
Represents the information about a OnQuickToolbarOpen event.
Inheritance
System.Object
BeforeQuickToolbarOpenArgs
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class BeforeQuickToolbarOpenArgs : Object
Remarks
This class contains details about the opening of a quick toolbar, including position and cancellation options.
Constructors
BeforeQuickToolbarOpenArgs()
Declaration
public BeforeQuickToolbarOpenArgs()
Properties
Cancel
Gets or sets whether the quick toolbar open action should be canceled or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
The Cancel property can prevent the quick toolbar from opening if set to true
.
PositionX
Gets or sets the horizontal position of the quick toolbar.
Declaration
public int PositionX { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer indicating the horizontal position. |
Remarks
PositionX allows precise horizontal alignment of the quick toolbar on the editor.
PositionY
Gets or sets the vertical position of the quick toolbar.
Declaration
public int PositionY { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer indicating the vertical position. |
Remarks
PositionY enables vertical alignment of the quick toolbar above or below the text.