Accord.Controls.DataSeriesBox.SetTitle C# (CSharp) Method

SetTitle() public method

Sets the window title of the data series box.
public SetTitle ( string text ) : DataSeriesBox
text string The desired title text for the window.
return DataSeriesBox
        public DataSeriesBox SetTitle(string text)
        {
            if (this.InvokeRequired)
            {
                this.Invoke((Action)(() => SetTitle(text)));
                return this;
            }

            this.Text = text;
            zedGraphControl.GraphPane.Title.Text = text;

            return this;
        }