ArcGISWindowsPhoneSDK.WebMapCharts.Unhighlight C# (CSharp) Method

Unhighlight() private method

private Unhighlight ( UIElement elt ) : void
elt UIElement
return void
        private void Unhighlight(UIElement elt)
        {
            if (elt is Shape) // PieChart, LineChart
            {
                (elt as Shape).Fill = origColor;
            }
            else if (elt is Border) // BarChart, ColumnChart
            {
                (elt as Border).Background = origColor;
            }
            highlightedChartPiece = null;
            origColor = null;
            chartDetailsContent.Content = null;
        }