Inheritance
System.Object
PdfViewerContextMenuSettings
Assembly: Syncfusion.Blazor.dll
public class PdfViewerContextMenuSettings : SfBaseComponent
Constructors
Declaration
public PdfViewerContextMenuSettings()
Properties
Declaration
public RenderFragment ChildContent { get; set; }
Property Value
Type |
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
Declaration
protected string jsProperty { get; set; }
Property Value
mainParent
Declaration
protected SfBaseComponent mainParent { get; set; }
Property Value
Methods
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder |
__builder |
|
Declaration
public string GetJSNamespace()
Returns
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
System.Threading.Tasks.Task |
Overrides
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
System.Threading.Tasks.Task |