Пример #1
0
        private void showToolTipForParameterNameField(PivotGridHitInfo hi, ToolTipControllerGetActiveObjectInfoEventArgs e)
        {
            var field = hi.ValueInfo.Field;

            if (field != _pivotGrid.ParameterField)
            {
                return;
            }

            var ds = hi.ValueInfo.CreateDrillDownDataSource();
            var parameterDisplayName = ds.StringValue(PKSimConstants.PKAnalysis.ParameterDisplayName);
            var description          = ds.StringValue(PKSimConstants.PKAnalysis.Description);
            var warning      = ds.StringValue(PKSimConstants.PKAnalysis.Warning);
            var superToolTip = _toolTipCreator.ToolTipForPKAnalysis(parameterDisplayName, description, warning);

            e.Info = _toolTipCreator.ToolTipControlInfoFor(parameterDisplayName, superToolTip);
        }