0

I want to add tooltip to cell but it works only row or column tooltip. Apperance doesn't have tooltip property.

A = The area I want to add tooltip B & C = Fields that can be added

question

There is my code. Is there any solutions or features?

private void PivotGridControl1_CustomAppearance(object sender, PivotCustomAppearanceEventArgs e)
        { 
            if (condition1)
            {
                ....
                if (condition2)
                {
                    ...
                    if (condition3)
                    {
                        if (condition4)
                        {
                            e.Appearance.BackColor = Color.FromArgb(235, 235, 235);
                            // Tooltip
                            e.DataField.ToolTips.ValueText = "DataField ValueText";
                            e.ColumnField.ToolTips.ValueText = "ColumnField ValueText";
                        }
                    }
                }
            }
        }
        private void pivotGridControl1_FieldTooltipShowing(object sender, PivotFieldTooltipShowingEventArgs e)
        {
            // tooltip
            if (condition1)
            {
                e.Text = "Hittt";
            }
        }
taskin
  • 1
  • 1

0 Answers0