Tuesday 6 November 2012

XamlParseException occurred

XamlParseException occurred
'GradientStopCollection' object cannot be added to 'LinearGradientBrush'. Cannot add instance of type 'GradientStopCollection' to a collection of type 'GradientStopCollection'. Only items of type 'GradientStop' are allowed.  Error at object 'System.Windows.Media.GradientStopCollection' in markup file 'WpfApplication3;component/window1.xaml' Line 12 Position 19.


And My Xml Code Is As Follows:

No comments:

Post a Comment

Note: only a member of this blog may post a comment.