This question is locked. New answers and comments are not allowed.
Hi,
I am using RADSlider using DataTemplates. These data templates are applied based on the selected item in a combo box. (Combo Box has "Hour", "Day" and "Week" values. Based on the item i show the tick labels as dates.
Template looks like below:
I am using RADSlider using DataTemplates. These data templates are applied based on the selected item in a combo box. (Combo Box has "Hour", "Day" and "Week" values. Based on the item i show the tick labels as dates.
Template looks like below:
| <DataTemplate x:Name="DailyTickTemplate"> |
| <Grid> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="Auto"/> |
| <RowDefinition Height="Auto"/> |
| </Grid.RowDefinitions> |
| <Rectangle Grid.Row="0" Width="2" Height="6" Fill="White" Margin="0,2,0,0" VerticalAlignment="Top" /> |
| <TextBlock Grid.Row="1" Text="{Binding Converter={StaticResource DailyConverter}}" FontSize="8" Foreground="White"/> |
| </Grid> |
| </DataTemplate> |
The Problem is: When I try to set the Selection Start and Selection End of Slider from code on combobox selected item changed event, i can't do that.
Irrespective of what is assigned to selection start and selection end, it assumes some wierd values.
