Exemplo n.º 1
0
 private void FGrid_RequestCellToolTipText(object sender, iGRequestCellToolTipTextEventArgs e)
 {
     if (IsButtonColumn(e.ColIndex) && IsCellButtonVisible(e.RowIndex, e.ColIndex))
     {
         IGCellButtonTooltipEventArgs myCellButtonTooltipEventArgs = new IGCellButtonTooltipEventArgs(e.RowIndex, e.ColIndex, null);
         OnCellButtonTooltip(myCellButtonTooltipEventArgs);
         e.Text = myCellButtonTooltipEventArgs.TooltipText;
     }
 }
Exemplo n.º 2
0
 protected virtual void OnCellButtonTooltip(IGCellButtonTooltipEventArgs e)
 {
     CellButtonTooltip?.Invoke(this, e);
 }