hi to everybody
i tried to use indicators to my project with get help demo telerik
i createing some class .for instance FinancialIndicatorSwitch and FinancialSeriesTypeSwitch and etc
but when i start i get this error
Error 2 A 'Binding' cannot be used within a 'RadCartesianChart' collection. A 'Binding' can only be set on a DependencyProperty of a DependencyObject. C:\Users\masoud\Documents\Visual Studio 2013\Projects\exercise_telerik\testchart\testchart\View\indacator.xaml 36 36 testchart
it say problem is in dependencyproperty that define in class and use in view
where this dp use in view in define here
i tried to solution this error but i was unsuccessful
please help me
i tried to use indicators to my project with get help demo telerik
i createing some class .for instance FinancialIndicatorSwitch and FinancialSeriesTypeSwitch and etc
but when i start i get this error
Error 2 A 'Binding' cannot be used within a 'RadCartesianChart' collection. A 'Binding' can only be set on a DependencyProperty of a DependencyObject. C:\Users\masoud\Documents\Visual Studio 2013\Projects\exercise_telerik\testchart\testchart\View\indacator.xaml 36 36 testchart
it say problem is in dependencyproperty that define in class and use in view
where this dp use in view in define here
<
chart:RadCartesianChart
x:Name
=
"RadChart1"
Palette
=
"Windows8"
Margin
=
"20,0,8,0"
example:FinancialIndicatorSwitch.MainIndicator
=
"{Binding MainIndicator, Mode=TwoWay}"
example:FinancialSeriesTypeSwitch.SeriesType
=
"{Binding SeriesType}"
and
<chart:RadCartesianChart
x:Name
=
"RadChart2"
Palette
=
"Windows8"
Grid.Row
=
"1"
Margin
=
"20,10,8,0"
example:FinancialIndicatorSwitch.SecondaryIndicator
=
"{Binding SecondaryIndicator, Mode=TwoWay}"
>
i tried to solution this error but i was unsuccessful
please help me