Exemple #1
0
            /// <summary>
            /// Execute the RowHeightChanged event
            /// </summary>
            /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RowInfoEventArgs"/> instance containing the event data.</param>
            public void InvokeRowHeightChanged(RowInfoEventArgs e)
            {
                if (AutoCalculateTop)
                {
                    CalculateTop(e.Row.Index);
                }

                if (RowHeightChanged != null)
                {
                    RowHeightChanged(this, e);
                }
            }
 /// <summary>
 /// Handles the RowHeightChanged event of the rows control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.RowInfoEventArgs"/> instance containing the event data.</param>
 private void rows_RowHeightChanged(object sender, RowInfoEventArgs e)
 {
     if (Redraw && !this.DrawColLine)
       {
     RefreshGridLayout();
       }
 }