Inheritance
System.Object
PdfViewerContextMenuSettings
Implements
System.IDisposable
Assembly: Syncfusion.Blazor.dll
public class PdfViewerContextMenuSettings : BaseComponent, IDisposable
Constructors
Declaration
public PdfViewerContextMenuSettings()
Properties
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
Description |
Microsoft.AspNetCore.Components.RenderFragment |
|
Defines the context menu action. By default it is RightClick. If it is set as MouseUp, context menu will open on mouse up action instead of rightclick action.
Declaration
public ContextMenuAction ContextMenuAction { get; set; }
Property Value
Defines the context menu items shoule be visibled in the PDF Viewer.
Declaration
public List<ContextMenuItem> ContextMenuItems { get; set; }
Property Value
Enable or disable context menu in PDF Viewer. By default it is true.
Declaration
public bool EnableContextMenu { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
protected override string jsProperty { get; set; }
Property Value
Type |
Description |
System.String |
|
Overrides
mainParent
Declaration
protected override BaseComponent mainParent { get; set; }
Property Value
Overrides
Methods
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
Declaration
public string GetJSNamespace()
Returns
Type |
Description |
System.String |
|
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Implements
System.IDisposable