public SubgroupContextMenu(VisualizerTable table, TableState state, ColumnStylingOptions stylingOptions, VisualizerTable.GetGroupSize getGroupSize)
 {
     _table          = table;
     _state          = state;
     _stylingOptions = stylingOptions;
     _getGroupSize   = getGroupSize;
     _menu           = PrepareContextMenu();
 }
Esempio n. 2
0
 public SliceCellStyling(SliceVisualizerTable table, SliceColumnStyling styling, IFontAndColorProvider fontAndColor, SliceVisualizerContext context)
 {
     _table                = table;
     _fontAndColor         = fontAndColor;
     _columnStyling        = styling;
     _appearance           = context.Options.VisualizerAppearance;
     _stylingOptions       = context.Options.VisualizerColumnStyling;
     _tableBackgroundBrush = new SolidBrush(_table.BackgroundColor);
 }