private void TooltipFieldListControl_EditValueChanged(object sender, EventArgs e) { if (InSetup) { return; } View.MarkerTooltip.Fields = TooltipFieldListControl.GetFields(); }
/// <summary> /// Retrieve and apply any pending marker color/shape changes /// </summary> void GetAndApplyPendingChanges() { AxesTabChanged |= AxesFieldListControl.Changed; if ( MarkerColorRulesControlChanged || MarkerShapesControlChanged || AxesTabChanged) { if (MarkerColorRulesControlChanged) { QueryColumn qc = View.MarkerColor.QueryColumn; if (qc != null) { // associate rules with QueryColumn if (qc.CondFormat == null) { qc.CondFormat = new CondFormat(); } //qc.CondFormat.Rules = View.MarkerColorBy.ColorRulesControl.GetRules(); if (qc.CondFormat.Rules != null) { qc.CondFormat.Rules.InitializeInternalMatchValues(qc.MetaColumn.DataType); } View.ApplyMarkerColorRules(); } MarkerColorRulesControlChanged = false; } //if (MarkerShapesControlChanged) //{ // GetMarkerShapeSchemeRulesFromGrid(); // MarkerShapesControlChanged = false; //} if (AxesTabChanged) { GetAxesFieldList(); AxesTabChanged = AxesFieldListControl.Changed = false; } View.ConfigureRenderingControl(); } if (TooltipFieldListControl.Changed) // update tooltip info { View.MarkerTooltip.Fields = TooltipFieldListControl.GetFields(); } return; }