Hi,
The SimpleFiltering example binds the visibility of a data series to a view model via XAML, eg.:
How can I achieve the same functionality via code (I'm coding in Visual Basic)? I'm buidling my data series dynamically through code, however I haven't able to figure out how to bind the visibility property via code.
Kind regards,
Dave.
The SimpleFiltering example binds the visibility of a data series to a view model via XAML, eg.:
<telerik:DataSeries LegendLabel="EU-27"> <telerik:DataSeries.Definition> <telerik:LineSeriesDefinition ItemLabelFormat="0.#" Visibility="{Binding Source={StaticResource ViewModel}, Path=SeriesEU27Visibility}" /> </telerik:DataSeries.Definition> How can I achieve the same functionality via code (I'm coding in Visual Basic)? I'm buidling my data series dynamically through code, however I haven't able to figure out how to bind the visibility property via code.
Kind regards,
Dave.