void editor_ControlCreated(object sender, EventArgs e)
        {
            ISupportPivotGridFieldBuilder supportFB = ((AnalysisEditorBase)sender).Control as ISupportPivotGridFieldBuilder;

            if (supportFB != null)
            {
                supportFB.FieldBuilder = new CustomPivotFieldBuilder((IAnalysisControl)supportFB);
                supportFB.FieldBuilder.SetModel(Application.Model);
            }
        }
 protected virtual void SetupGridField(ISupportPivotGridFieldBuilder supportPivotGridFieldBuilder, AnalysisEditorBase editor) {
     ((PivotGridFieldBuilder)supportPivotGridFieldBuilder.FieldBuilder).SetupGridField += (o, fieldArgs) => OnSetupGridField(editor, fieldArgs.PivotGridField);
 }
Beispiel #3
0
 protected virtual void SetupGridField(ISupportPivotGridFieldBuilder supportPivotGridFieldBuilder, AnalysisEditorBase editor)
 {
     ((PivotGridFieldBuilder)supportPivotGridFieldBuilder.FieldBuilder).SetupGridField += (o, fieldArgs) => OnSetupGridField(editor, fieldArgs.PivotGridField);
 }