Esempio n. 1
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);
 }
Esempio n. 2
0
        public ColumnStyling(Options.VisualizerAppearance appearance, ColumnStylingOptions styling, ComputedColumnStyling computedStyling, FontAndColorState fontAndColor)
        {
            _laneDividerWidth           = appearance.LaneSeparatorWidth;
            _hiddenColumnSeparatorWidth = appearance.HiddenColumnSeparatorWidth;
            _columnBackgroundColors     = styling.BackgroundColors;
            _columnForegroundColors     = styling.ForegroundColors;

            _computedStyling = computedStyling;
            _fontAndColor    = fontAndColor;
        }
 public SliceColumnStyling(SliceVisualizerTable table, Options.VisualizerAppearance appearance)
 {
     _table      = table;
     _appearance = appearance;
 }