Пример #1
0
 public void SaveParameters(GridParametersObject parameters)
 {
     parameters.AllowIncrementalSearch        = AllowIncrementalSearch;
     parameters.FixedLineWidth                = FixedLineWidth;
     parameters.ShowFooter                    = ShowFooter;
     parameters.ShowGroupPanel                = ShowGroupPanel;
     parameters.ShowAutoFilter                = ShowAutoFilter;
     parameters.AllowExpandEmptyDetail        = AllowExpandEmptyDetail;
     parameters.AllowOnlyOneMasterRowExpanded = AllowOnlyOneMasterRowExpanded;
     parameters.AutoZoomDetail                = AutoZoomDetail;
     parameters.EnableAppearanceEvenRow       = EnableAppearanceEvenRow;
     parameters.EnableAppearanceOddRow        = EnableAppearanceOddRow;
     parameters.ShowHorzLines                 = ShowHorzLines;
     parameters.ShowVertLines                 = ShowVertLines;
     parameters.ShowIndicator                 = ShowIndicator;
     parameters.RowSeparatorHeight            = RowSeparatorHeight;
     parameters.AllowCellMerge                = AllowCellMerge;
     parameters.ColumnAutoWidth               = ColumnAutoWidth;
     parameters.RowAutoHeight                 = RowAutoHeight;
     parameters.RowHeight = RowHeight;
     parameters.AutoCalcPreviewLineCount = AutoCalcPreviewLineCount;
     //parameters.MultiSelectMode					= (GridParametersObject.GridMultiSelectMode)MultiSelectMode;
     parameters.ShowSplitGrid     = ShowSplitGrid;
     parameters.FindPanelBehavior = FindPanelBehavior;
 }
Пример #2
0
 public void ApplyParameters(GridParametersObject parameters)
 {
     AllowIncrementalSearch        = parameters.AllowIncrementalSearch;
     FixedLineWidth                = parameters.FixedLineWidth;
     ShowFooter                    = parameters.ShowFooter;
     ShowGroupPanel                = parameters.ShowGroupPanel;
     ShowAutoFilter                = parameters.ShowAutoFilter;
     AllowExpandEmptyDetail        = parameters.AllowExpandEmptyDetail;
     AllowOnlyOneMasterRowExpanded = parameters.AllowOnlyOneMasterRowExpanded;
     AutoZoomDetail                = parameters.AutoZoomDetail;
     EnableAppearanceEvenRow       = parameters.EnableAppearanceEvenRow;
     EnableAppearanceOddRow        = parameters.EnableAppearanceOddRow;
     ShowHorzLines                 = parameters.ShowHorzLines;
     ShowVertLines                 = parameters.ShowVertLines;
     ShowIndicator                 = parameters.ShowIndicator;
     RowSeparatorHeight            = parameters.RowSeparatorHeight;
     AllowCellMerge                = parameters.AllowCellMerge;
     ColumnAutoWidth               = parameters.ColumnAutoWidth;
     RowAutoHeight                 = parameters.RowAutoHeight;
     RowHeight = parameters.RowHeight;
     AutoCalcPreviewLineCount = parameters.AutoCalcPreviewLineCount;
     //MultiSelectMode					= (GridMultiSelectMode)parameters.MultiSelectMode;
     ShowSplitGrid     = parameters.ShowSplitGrid;
     FindPanelBehavior = parameters.FindPanelBehavior;
 }