public virtual DataGridColumn ColumnFromPoint(float x) { try { return(ColumnFromColumnIndex(ColumnOffsets.IndexOfElementOrPredecessor(x))); } catch (Exception ex) { ex.LogError(); return(null); } }
public virtual int ColumnIndexFromPoint(float x) { try { return(ColumnOffsets.IndexOfElementOrPredecessor(x)); } catch (Exception ex) { ex.LogError(); return(-1); } }