Пример #1
0
 protected virtual void OnRowDoubleClicked(RowSection rowSection)
 {
     if (RowDoubleClicked != null)
     {
         RowDoubleClicked(rowSection, EventArgs.Empty);
     }
 }
Пример #2
0
        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));
                }
            }
        }
Пример #3
0
 internal float GetRowHeightInternal(RowSection rowSection)
 {
     return(GetRowHeight(rowSection));
 }
Пример #4
0
        //<Curbits>

        protected virtual float GetRowHeight(RowSection rowSection)
        {
            return(float.NaN);
        }