I've been experimenting with adding Stimulsoft to our reporting software.
When using the StiWpfViewerControl, I have something similar to:
Code: Select all
<DataTemplate DataType="{x:Type tabs:StimulsoftTab}">
<stim:StiWpfViewerControl Report="{Binding Report}"/>
</DataTemplate>
Code: Select all
public class StimulsoftTab
{
...
private StiReport _Report;
public StiReport Report
{
get => _Report;
set
{
_Report = value;
OnPropertyChanged();
}
}
...
}
I even confirmed this by stepping through the code in visual studio after decompiling the Stimulsoft assembly and placing a breakpoint at
Code: Select all
Stimulsoft.Report.Viewer.StiWpfViewerControl.OnReportChanged
Can anyone help me understand why the Report binding doesn't seem to work? Is there another property I should be using?
Thanks in advance