or

Is there any easy way to use style from filtering list (e.g in grid view filter - first picture) as default style for all scroll viewers (second picture)
Thanks for help.
using System;using System.Collections;using System.Collections.ObjectModel;using System.Windows;using System.Windows.Controls;using System.Windows.Media;using Telerik.Windows.Controls.DragDrop;namespace RadDragDrop2{ /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public ObservableCollection<CheckableItemsViewModel> List1 { get; set; } public ObservableCollection<CheckableItemsViewModel> List2 { get; set; } public MainWindow() { InitializeComponent(); List1 = new ObservableCollection<CheckableItemsViewModel>(); List2 = new ObservableCollection<CheckableItemsViewModel>(); LayoutRoot.DataContext = this; listBox1.AddHandler(RadDragAndDropManager.DropQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDropQuery)); listBox1.AddHandler(RadDragAndDropManager.DragQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDragQuery)); listBox1.AddHandler(RadDragAndDropManager.DropInfoEvent, new EventHandler<DragDropEventArgs>(OnDropInfo)); listBox1.AddHandler(RadDragAndDropManager.DragInfoEvent, new EventHandler<DragDropEventArgs>(OnDragInfo)); listBox2.AddHandler(RadDragAndDropManager.DropQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDropQuery)); listBox2.AddHandler(RadDragAndDropManager.DragQueryEvent, new EventHandler<DragDropQueryEventArgs>(OnDragQuery)); listBox2.AddHandler(RadDragAndDropManager.DropInfoEvent, new EventHandler<DragDropEventArgs>(OnDropInfo)); listBox2.AddHandler(RadDragAndDropManager.DragInfoEvent, new EventHandler<DragDropEventArgs>(OnDragInfo)); List1.Add(new CheckableItemsViewModel() { Name = "one", IsChecked = true }); List1.Add(new CheckableItemsViewModel() { Name = "two", IsChecked = false }); List1.Add(new CheckableItemsViewModel() { Name = "three", IsChecked = true }); List2.Add(new CheckableItemsViewModel() { Name = "four", IsChecked = false }); List2.Add(new CheckableItemsViewModel() { Name = "five", IsChecked = true }); List2.Add(new CheckableItemsViewModel() { Name = "six", IsChecked = false }); } private void OnDragQuery(object sender, DragDropQueryEventArgs e) { if (e.Options.Status == DragStatus.DragQuery) { var draggedItem = e.Options.Source; e.QueryResult = true; e.Handled = true; // Create Drag and Arrow Cue ContentControl dragCue = new ContentControl(); dragCue.Content = draggedItem.DataContext; dragCue.ContentTemplate = this.Resources["DragCueTemplate"] as DataTemplate; e.Options.DragCue = dragCue; e.Options.ArrowCue = RadDragAndDropManager.GenerateArrowCue(); // Set the payload (this is the item that is currently dragged) e.Options.Payload = draggedItem.DataContext; } if (e.Options.Status == DragStatus.DropSourceQuery) { e.QueryResult = true; e.Handled = true; } } private void OnDragInfo(object sender, DragDropEventArgs e) { // if we are dropping on the appropriate listbox, then remove the item from the first listbox. if (e.Options.Status == DragStatus.DragComplete) { var itemsControl = e.Options.Source.FindItemsConrolParent() as ItemsControl; var itemsSource = itemsControl.ItemsSource as IList; itemsSource.Remove(e.Options.Payload); } } private void OnDropQuery(object sender, DragDropQueryEventArgs e) { var destination = e.Options.Destination as ListBox; if (e.Options.Status == DragStatus.DropDestinationQuery && destination != null) { e.QueryResult = true; e.Handled = true; } } private void OnDropInfo(object sender, DragDropEventArgs e) { // if we are dropping on the appropriate listbox, then add the dragged item to it. var destination = e.Options.Destination as ItemsControl; if (e.Options.Status == DragStatus.DropComplete && destination != null) { (destination.ItemsSource as IList).Add(e.Options.Payload); } } } public class CheckableItemsViewModel { public bool IsChecked { get; set; } public string Name { get; set; } } public static class ControlExtensions { public static ItemsControl FindItemsConrolParent(this FrameworkElement target) { ItemsControl result = null; result = target.Parent as ItemsControl; if (result != null) { return result; } result = ItemsControl.ItemsControlFromItemContainer(target); if (result != null) { return result; } return FindVisualParent<ItemsControl>(target); } public static T FindVisualParent<T>(FrameworkElement target) where T : FrameworkElement { if (target == null) { return null; } var visParent = VisualTreeHelper.GetParent(target); var result = visParent as T; if (result != null) { return result; } return FindVisualParent<T>(visParent as FrameworkElement); } }}<Window x:Class="RadDragDrop2.MainWindow" xmlns:telerikDragDrop="clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls" Title="MainWindow" Width="320" Height="240"> <Window.Resources> <DataTemplate x:Key="ItemTemplate"> <CheckBox IsChecked="{Binding IsChecked, Mode=TwoWay}" Content="{Binding Name}" /> </DataTemplate> <Style TargetType="Control" x:Key="DraggableItem"> <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrag" Value="True" /> <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrop" Value="True" /> </Style> <Style TargetType="ListBox" x:Key="DraggableListBox"> <Setter Property="telerikDragDrop:RadDragAndDropManager.AllowDrop" Value="True" /> <Setter Property="ItemContainerStyle" Value="{StaticResource DraggableItem}" /> </Style> <DataTemplate x:Key="DragCueTemplate"> <TextBlock Text="{Binding Name}"/> </DataTemplate> </Window.Resources> <Grid x:Name="LayoutRoot"> <Grid.ColumnDefinitions> <ColumnDefinition /> <ColumnDefinition /> </Grid.ColumnDefinitions> <ListBox x:Name="listBox1" Grid.Column="0" ItemsSource="{Binding Path=List1}" ItemTemplate="{StaticResource ItemTemplate}" Style="{StaticResource DraggableListBox}"/> <ListBox x:Name="listBox2" Grid.Column="1" ItemsSource="{Binding Path=List2}" ItemTemplate="{StaticResource ItemTemplate}" Style="{StaticResource DraggableListBox}"/> </Grid></Window><chart:RadChart Name="qwe" Content="RadChart" ItemsSource="{Binding PieChartItems}"> <chart:RadChart.DefaultView> <charting:ChartDefaultView> <charting:ChartDefaultView.ChartArea/> <charting:ChartDefaultView.ChartTitle> <charting:ChartTitle Content="CHART TITLE"/> </charting:ChartDefaultView.ChartTitle> <charting:ChartDefaultView.ChartLegend> <charting:ChartLegend x:Name="ChartLegend2" Visibility="Visible" Header="ABC" Padding="0,0,5,0" HorizontalContentAlignment="Right" BorderThickness="0" Background="Transparent"/> </charting:ChartDefaultView.ChartLegend> </charting:ChartDefaultView> </chart:RadChart.DefaultView><telerik:GridViewComboBoxColumn Header="Type" Width="160" UniqueName="Type" DataMemberBinding="{Binding Path=Type}" DisplayMemberPath="Name" /> ((GridViewComboBoxColumn)(Tasks.Columns[1])).ItemsSource = AdminHandler.GetQuestTaskTypes();<telerik:RadGridView x:Name="GridView" ItemsSource="{Binding DataView}" Width="700" MinHeight="386" MaxHeight="500" .........</telerik:RadGridView> <telerik:RadDataPager PageSize="100" Grid.Row="1" Source="{Binding DataView}" />public VirtualQueryableCollectionView<VSOEChageItemViewModel> DataView { get { if (_DataView == null) { _DataView = new VirtualQueryableCollectionView<VSOEChageItemViewModel>() { LoadSize = 40, VirtualItemCount = 40 }; _DataView.ItemsLoading += DataViewItemsLoading; } return _DataView; } private set { if (_DataView != null) { _DataView.ItemsLoading -= DataViewItemsLoading; } _DataView = value; if (_DataView != null) { _DataView.ItemsLoading += DataViewItemsLoading; } } }private void DataViewItemsLoading(object sender, VirtualQueryableCollectionViewItemsLoadingEventArgs e) { string filertString = GetFilertString(); var sort = DataView.SortDescriptors; var sortString = sort.ToDynamicLinq(); if (!string.IsNullOrEmpty(sortString)) sortString = sortString.Remove(0, sortString.IndexOf(".") + 1); int allCount = 0; List<VSOEChageItemViewModel> dd1 = LoadData(filertString, sortString, e.StartIndex, e.ItemCount, out allCount); if (allCount != DataView.VirtualItemCount) { DataView.VirtualItemCount = allCount; } DataView.Load(e.StartIndex, dd1); }