示例#1
0
        private void DashboardControl_CustomParameters(object sender, DevExpress.DashboardCommon.CustomParametersEventArgs e)
        {
            var customParameter = e.Parameters.FirstOrDefault(p => p.Name == "parameterState");

            if (customParameter != null)
            {
                // Actual value used when retrieving data from the data source.
                customParameter.Value = "Nevada";
            }
        }
示例#2
0
        private void dashboardViewer1_CustomParameters(object sender, DevExpress.DashboardCommon.CustomParametersEventArgs e)
        {
            e.Parameters[0].Value = 12; //g_id
            //e.Parameters[1].Value = 15; //app_id

            /*            foreach(param in  e.para)
             *          {
             *              MessageBox.Show(e.Parameters[i].ToString());
             *              e.Parameters.
             *          }
             */
        }
示例#3
0
 private void dashboardViewer1_CustomParameters(object sender, DevExpress.DashboardCommon.CustomParametersEventArgs e)
 {
     e.Parameters[0].Value = id;
 }