Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
11057 | Feb 23,2004 02:45 AM UTC | Apr 16,2004 10:14 AM UTC | WinForms | 6 |
![]() |
Tags: GridControl |
private void gridDataBoundGrid1_SaveCellInfo(object sender, GridSaveCellInfoEventArgs e) { if(e.RowIndex > 0 && e.ColIndex > 0) { ExcelTip.GridExcelTipStyleProperties excelStyle = new ExcelTip.GridExcelTipStyleProperties(e.Style); if(excelStyle.ExcelTipText.Length > 0) { object key = GetHashCode(e.RowIndex, e.ColIndex); if(this.excelTipsCache.ContainsKey(key)) this.excelTipsCache[key] = e.Style; else this.excelTipsCache.Add(key, e.Style); } else { object key = GetHashCode(e.RowIndex, e.ColIndex); if(this.excelTipsCache.ContainsKey(key)) this.excelTipsCache.Remove(key); } } }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.