Table of Contents

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

elementId string

The id of the clicked element, when the host knows it; the region map is the fallback for a point the hit test misses.

x Twips

The distance of the point from the left edge of the page.

y Twips

The distance of the point from the top edge of the page.

cancellationToken CancellationToken

Cancels a sort or drillthrough.

Returns

Task<ReportActivation>

What happened; a hyperlink is returned for the host to open rather than opened here.