I am using Infragistics New Advantage Ultra Win Grid Control. I want to show tool tip message on ultra win grid row. Tool tip message should have image and formatted text. Different different rows have different different tool tip message. For completing this task I used UltraToolTipInfo and UltraToolTipManager class but I was not able to done it.
How can I apply tooltip message on selected row only not on UltraWinGrid control.
I had solve this problem.
Following link help me to solve it.
This code work for me.
private void igrdAgentPool_MouseEnterElement(object sender, UIElementEventArgs e)
if (e.Element is Infragistics.Win.UltraWinGrid.CellUIElement)
// Get a refernce to the column.
Infragistics.Win.UltraWinGrid.UltraGridColumn column = (Infragistics.Win.UltraWinGrid.UltraGridColumn)e.Element.GetContext();
// Show the tooltip only when it is over the "Delete" column.
if (column.Key == "Delete")
Infragistics.Win.UltraWinToolTip.UltraToolTipInfo tipInfo =
new Infragistics.Win.UltraWinToolTip.UltraToolTipInfo("Click button to delete record.", ToolTipImage.Info, "Delete Record", DefaultableBoolean.True);
// Set the tooltip and it will be displayed automatically based on the tooltip manager settings.
private void igrdAgentPool_MouseLeave(object sender, EventArgs e)
Thanks for your help.
Could you please review the sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.
Development Team Lead, MCPDInfragistics, Inc.
How to get answers =>
Thanks for quick reply.
It's work for me.
I had used attached sample send by you. But It's exactly not which I want. Attached sample is always show tooltip but I want that only few rows whose checkbox column is checked are able to show tooltip not other.
I have datagrid view which have two column. one is checkbox and other one is data. When checkbox column of row is checked then tooltip is displayed only when cursor is on that row otherwise it dont display tooltip.
I hope you understand my requirement.
I am not able to complete this job. Please help me. Is it possible or not with infragistics ultra win grid control.
Attached sample did not complete my requirements. It shows tooltip on every row. Let me explain my problem in more detail.
I have a ultra win grid control which have 3 columns. First one is checkbox column, second and theird is simple textbox column. Now suppose ultra grid view have 20 records. I want to show ultratool tip on those rows only whose checkbox column is checked means when focus is on checked row otherwise it don't show ultra tool tip. Tooltip message can be differ for different checked row.
Maybe it is clear to understand you.
I have ultra win grid which contains 2 columns. First one is checkbox and second one is simple column. I have 20 records in ultra grid. Suppose checkbox column of 10 records is checked. Some rows whose checkbox column is checked have background orange, green and yellow. I want to show ultra tooltip message only on those rows whose checkbox column is checked and have row background as orange not for green or yellow.
Maybe My previous message was not able to describe my requirements completly. Help me !!!
I believe that the scenario you are describing is like the one from my last sample. If you feel that I do not understand you well, please if possible provide a sample project of your own, I will be happy to make it work for you.
Please do not hesitate to contact us if you need any additional assistance.
I am sending you a code.
public partial class Form1 : Form
ultraGrid1.DataSource = GetTable();
static DataTable GetTable()
DataTable table = new DataTable();
private void ultraGrid1_MouseEnterElement(object sender, Infragistics.Win.UIElementEventArgs e)
if (e.Element.GetAncestor(typeof(RowUIElement)) != null)
currentRow = (RowUIElement)e.Element.GetAncestor(typeof(RowUIElement)) as RowUIElement;
///If row background color have ornge then only on that row tooltip message show.
if ((currentRow != null && (bool)currentRow.Row.Cells["Checkbox"].Value == true) && currentRow.Row.Appearance.BackColor == Color.Orange)
infoRow = new UltraToolTipInfo(currentRow.Row.Index.ToString(), Infragistics.Win.ToolTipImage.Info, currentRow.Row.GetType().ToString(), Infragistics.Win.DefaultableBoolean.True);
private void ultraGrid1_MouseLeaveElement(object sender, Infragistics.Win.UIElementEventArgs e)
private void Form1_Load(object sender, EventArgs e)
ultraGrid1.Rows.Appearance.BackColor = Color.Orange;
ultraGrid1.Rows.Appearance.BackColor = Color.Green;
ultraGrid1.Rows.Appearance.BackColor = Color.Yellow;
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.