I'm programmatically generating LegendItems for a RadLegend object, but the labels for the legend all seem to be partially transparent or grayed out or something. I can't find any properties to change this, and it doesn't seem like default behavior since the documentation doesn't show anything like this.
XAML:
Item generation code:
XAML:
<
UserControl
x:Class
=
"Construct.UX.Views.Visualizations.DataLegend"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
Grid
>
<
telerik:RadLegend
x:Name
=
"Legend"
/>
</
Grid
>
</
UserControl
>
Item generation code:
// ...
LegendItem newLegendItem =
new
LegendItem();
newLegendItem.MarkerFill =
new
SolidColorBrush(newEntry.Color);
newLegendItem.Title = newEntry.Name;
// ...
Legend.Items.Add(newLegendItem);
// ...