DIYGrid.ColumnBase - remove unused function

This commit is contained in:
John Colvin committed 2018-04-07 17:23:21 -04:00
1 parent fe8cb76d52
commit 419de81457
1 file changed
-8
@@ -62,14 +62,6 @@ namespace mbts.ui.controls {
public IDataGridColumnFilter filter { get; }
public string filter_template { get; }
void _draw(TRowVM row, DrawingContext drawing_context, double left, double unclipped_left, double row_height, double padding, out double total_width) {
// draw text centered vertially
var formatted_text = _get_formatted_text(row);
total_width = padding + formatted_text.Width + padding;
double pad_top = (row_height - formatted_text.Height) / 2.0;
drawing_context.DrawText(formatted_text, new Point(unclipped_left + padding, pad_top));
}
public override void draw(TRowVM row, DrawingContext drawing_context, ColumnGeometry position, double row_height, Thickness padding) {
var formatted_text = _get_formatted_text(row);
double total_width = padding.Left + formatted_text.Width + padding.Right;