private static Brush GetFillBrush(this ProfilingDataPoint point) { if (point.Instance.HasExecutionPending) { return(ExecutionRequestedBrush); } if (!point.Instance.Executed) { return(NotExecutedBrush); } return(null); }
private static Brush GetStrokeBrush(this ProfilingDataPoint point) { return(!point.Selected ? Brushes.Transparent : (Brush)SelectedBrush); }