I am trying to add ranges to a Radial Gauge. Code snippet:
The problem is that RangeList has no .Add member. How do I add ranges to a RangeList?
Thanks.
Dan
Nevermind. Duh. It's oRangeList.Items.Add
All better now.
Dan
RangeList oRangeList = new RangeList();
double nextRangeMinimum = 0;
foreach ( QualitativeRange oRange in _ViewModel.BulletGraphRanges )
{
RadialRange oRadialRange = new RadialRange();
oRadialRange.Min = nextRangeMinimum;
oRadialRange.Max = nextRangeMinimum = oRange.Value;
oRadialRange.BorderBrush = oRange.Brush;
oRangeList.Add( oRadialRange );
}
The problem is that RangeList has no .Add member. How do I add ranges to a RangeList?
Thanks.
Dan
Nevermind. Duh. It's oRangeList.Items.Add
All better now.
Dan