or
<Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type CheckBox}"> <BulletDecorator Background="Transparent" SnapsToDevicePixels="true"> <BulletDecorator.Bullet> <Border x:Name="Border" Width="13" Height="13" CornerRadius="0" Background="White" BorderThickness="1" BorderBrush="#404040"> <Path Width="7" Height="7" x:Name="CheckMark" SnapsToDevicePixels="False" Stroke="#404040" StrokeThickness="2" Data="M 0 0 L 7 7 M 0 7 L 7 0" /> </Border> </BulletDecorator.Bullet> </BulletDecorator> <ControlTemplate.Triggers> <Trigger Property="HasContent" Value="true"> <Setter Property="FocusVisualStyle" Value="{StaticResource CheckRadioFocusVisual}"/> <Setter Property="Padding" Value="4,0,0,0"/> </Trigger> <Trigger Property="IsEnabled" Value="false"> <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/> </Trigger> </ControlTemplate.Triggers> </ControlTemplate> </Setter.Value> </Setter>The objects have a property "IsSelected".
How do I bind this property to the ListBox?
I want the property of the object to change when the user selects an item.
Thanks for help
Michael
<telerik:RadGridView.GroupHeaderTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <CheckBox localBehavior:CheckBoxBehavior.IsEnabled="True" IsThreeState="True" Margin="0 0 3 0"/> <TextBlock Text="{Binding Group.Key}" Background="{Binding Path=Group.Items, Converter={StaticResource GroupHeaderColorResourceValueConverter}}"/> </StackPanel> </DataTemplate> </telerik:RadGridView.GroupHeaderTemplate>public bool IsSelected{ get { return isSelected; } set { if (value == isSelected) return; isSelected = value; NotifyOfPropertyChange(() => IsSelected); if (Parent != null) Parent.IsSelected = isSelected; }}Hi,
Is there a possibility to set a different color to each one of the candlesticks?
SummaryData
[] lstData = GetSummaryData();
VirtualQueryableCollectionView vqResults = new VirtualQueryableCollectionView(lstData) { LoadSize = 100, VirtualItemCount = 100000 };
radTreelistView.ItemsSource = vqResults ;
But i am getting a blank screen.
If I directly assign the source to radtreelistview, it loads correctly.
I need to implement data virtualization with radtreelistview. Are there any demerits of using data virtualization ?
Can you please provide an example project.
Thanks.
