private void LegendItemOrder_EditValueChanged(object sender, EventArgs e) { if (InSetup) { return; } string txt = LegendItemOrder.Text; txt = Lex.CompressCapitalizedName(txt); View.LegendItemOrder = (DevExpress.XtraCharts.LegendDirection)Enum.Parse(typeof(DevExpress.XtraCharts.LegendDirection), txt); View.ConfigureRenderingControl(); }
private void LegendVerticalAlignment_EditValueChanged(object sender, EventArgs e) { if (InSetup) { return; } string txt = LegendAlignmentVertical.Text; txt = Lex.CompressCapitalizedName(txt); View.LegendAlignmentVertical = (DevExpress.XtraCharts.LegendAlignmentVertical)Enum.Parse(typeof(DevExpress.XtraCharts.LegendAlignmentVertical), txt); View.ConfigureRenderingControl(); }