protected virtual void OnRowDoubleClicked(RowSection rowSection) { if (RowDoubleClicked != null) { RowDoubleClicked(rowSection, EventArgs.Empty); } }
protected override void OnMouseClick(MouseEventArgs e) { base.OnMouseClick(e); Section section = SectionFromPoint(e.Location); while (section != null && !(section is RowSection)) { section = section.Parent; } if (section != null) { RowSection rs = section as RowSection; OnMouseClickedRow(new RowEventArgs(rs.RowIdentifier)); CellSection cs = rs.CellSectionFromPoint(new Point(e.X, e.Y)); if (cs != null) { OnMouseClickedCell(new CellEventArgs(cs)); } } }
internal float GetRowHeightInternal(RowSection rowSection) { return(GetRowHeight(rowSection)); }
//<Curbits> protected virtual float GetRowHeight(RowSection rowSection) { return(float.NaN); }