1
Report in WPF from Collection Object
Question asked by Stefano Pranzo - January 26 at 6:22 AM
Unanswered
Good morning.
I have a class so composed:
 public class FatturaElettronica
    {
        /// <summary>
        /// NameCostumer
        /// </summary>
        private string mNameCostumer;

        /// <summary>
        /// NameCostumer
        /// </summary>
        public string NameCostumer
        {
            get
            {
                return mNameCostumer;
            }
            set
            {
                mNameCostumer = value;
            }
        }

        /// <summary>
        /// Details
        /// </summary>
        private ObservableCollection<FatturaElettronicaRow> mDetails;

        /// <summary>
        /// Details
        /// </summary>
        public ObservableCollection<FatturaElettronicaRow> Details
        {
            get
            {
                return mDetails;
            }
            set
            {
                mDetails = value;
            }
        }
    }
I need to be able to generate a Master Detail Report with the data of this class.
I can't find any examples of how to pass the class as a data source to the report in WPF. only WinForm with the ReportManager. But in WPF I don't find the Report Manager.
How can I do?
Thank you.

Reply to Thread