public PivotGridToolBarInfo GetToolBarInfo()
        {
            PivotGridToolBarInfo toolBarInfo = new PivotGridToolBarInfo();

            toolBarInfo.HistorySize         = History.Size;
            toolBarInfo.CurrentHistoryIndex = History.CurrentHistiryItemIndex;
            toolBarInfo.HideEmptyRows       = HideEmptyRows;
            toolBarInfo.HideEmptyColumns    = HideEmptyColumns;

            return(toolBarInfo);
        }
Beispiel #2
0
        public PivotGridToolBarInfo GetToolBarInfo()
        {
            PivotGridToolBarInfo toolBarInfo = new PivotGridToolBarInfo();

            toolBarInfo.HistorySize         = this.HistorySize;
            toolBarInfo.CurrentHistoryIndex = this.CurrentHistoryItemIndex;
            toolBarInfo.HideEmptyRows       = this.CurrentHistoryItem.RowsActionChain.HideEmpty;
            toolBarInfo.HideEmptyColumns    = this.CurrentHistoryItem.ColumnsActionChain.HideEmpty;
            toolBarInfo.RotateAxes          = this.CurrentHistoryItem.RotateAxes;

            return(toolBarInfo);
        }