功能簡單直接上代碼:

 public partial class ListViewAnalyzViewController : ViewController
    {
        public ListViewAnalyzViewController()
        {
            InitializeComponent();
            RegisterActions(components);
            TargetViewId = "Analysis_DetailView";
        }

        protected override void OnActivated()
        {
            base.OnActivated();
            View.ControlsCreated += new EventHandler(View_ControlsCreated);
        }

        void View_ControlsCreated(object sender, EventArgs e)
        {
            Analysis currentAnalysis = (Analysis)View.CurrentObject;
            if (currentAnalysis.DataType != null)
            {
                Frame.GetController<DevExpress.ExpressApp.PivotChart.AnalysisDataBindController>().BindDataAction.DoExecute();
            }
        }
    }

相关文章:

  • 2021-09-05
  • 2022-12-23
  • 2022-02-12
  • 2021-11-12
  • 2022-12-23
  • 2021-12-22
  • 2021-07-07
  • 2022-12-23
猜你喜欢
  • 2021-05-20
  • 2021-05-26
  • 2021-08-09
  • 2022-12-23
  • 2021-05-29
  • 2021-12-07
  • 2022-12-23
相关资源
相似解决方案