Method ActivateAsync
- Namespace
- ReportWright.Blazor.Viewer
- Assembly
- ReportWright.Blazor.Viewer.dll
ActivateAsync(string?, Twips, Twips, CancellationToken)
Carries out whatever is under a point on the current page: an action, a toggle or an interactive sort.
public Task<ReportActivation> ActivateAsync(string? elementId, Twips x, Twips y, CancellationToken cancellationToken)
Parameters
elementIdstringThe id of the clicked element, when the host knows it; the region map is the fallback for a point the hit test misses.
xTwipsThe distance of the point from the left edge of the page.
yTwipsThe distance of the point from the top edge of the page.
cancellationTokenCancellationTokenCancels a sort or drillthrough.
Returns
- Task<ReportActivation>
What happened; a hyperlink is returned for the host to open rather than opened here.