FlexViewer for UWP / Binding FlexReport with FlexViewer
Binding FlexReport with FlexViewer

To render a report, you need to load the report first. Once the report definition has been created, a data source is defined, and the report definition is loaded, you can render the report to the FlexViewer control.

To preview the report in FlexViewer control, use the following code:

Try
    ' load from resource stream
    Using stream As Stream = asm.GetManifestResourceStream("BindingApp.Resources.TelephoneBillReport.flxr")
    rpt.Load(stream, "TelephoneBillReport")
End Using
Catch ex As Exception
        Dim md As New MessageDialog(String.Format("Failed to Load Report", rpt.ReportName, ex.Message), "Error")
        Await md.ShowAsync()
        Return
End Try

Flxviewer.DocumentSource = rpt