/// <summary>
        /// If MainTableType is set to HorizontalStackPanel, here you can define its preferences such as
        /// number of columns per row.
        /// Please note that All columns and properties of an object will create a single cell here.
        /// </summary>
        /// <param name="columnsPerRow">number of columns per row</param>
        public void HorizontalStackPanelPreferences(int columnsPerRow)
        {
            var data = new HorizontalStackPanelPreferences
            {
                ColumnsPerRow = columnsPerRow
            };

            _pdfReport.DataBuilder.DefaultHorizontalStackPanelPreferences(data);
        }
Esempio n. 2
0
 /// <summary>
 /// If MainTableType is set to HorizontalStackPanel, here you can define its preferences such as
 /// number of columns per row.
 /// </summary>
 /// <param name="data">preferences</param>
 public void DefaultHorizontalStackPanelPreferences(HorizontalStackPanelPreferences data)
 {
     _horizontalStackPanelPreferences = data;
 }