Trying to covert code from NT7 to NT8 and I am stuck with the following 2 areas. I do not know if there are ChartControl definition for ChartTypeStyle.
else if (State == State.Configure)
{
if (ChartControl != null && ChartControl.ChartStyleType == ChartStyleType.CandleStick)
candles = true;
else
candles = false;
}
Not clear about the correct code for the above "IF" statement
/////////////////////////////////////////////////
Also, the following definition for Brush will not accept calculated integer values instead of numeric RGB integers i.e (50,80,120)
Brush myColor = new SolidColorBrush(Color.FromRgb(value1,value2,value3 ));
myColor.Freeze();
How the definition of Brush must be coded to accept integer series?
Many thanks.
Comment