or
<UserControl x:Class="PrimeTime.Views.Employees.EmployeeWorkdayErrorSelectionView" xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" mc:Ignorable="d" Height="504" Width="400"> <UserControl.Resources> <ResourceDictionary> <DataTemplate x:Key="ErrorWorkdaysTemplate"> <telerik:RadGridView ItemsSource="{Binding WorkdayErrors}" EnableRowVirtualization="False" IsReadOnly="True" SelectionMode="Single" AutoGenerateColumns="False" ShowGroupPanel="False" ShowColumnHeaders="False" ScrollViewer.HorizontalScrollBarVisibility="Disabled" CanUserInsertRows="False" CanUserDeleteRows="False" CanUserSortColumns="False" IsSynchronizedWithCurrentItem="True" IsFilteringAllowed="False" SelectedItem="{Binding SelectedWorkdayError, Mode=TwoWay}"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding WorkdayDate}" Header="Day" Width="70"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding ErrorMessage}" Header="Error" Width="Auto"/> </telerik:RadGridView.Columns> </telerik:RadGridView> </DataTemplate> </ResourceDictionary> </UserControl.Resources> <telerik:RadTreeListView x:Name="tlv_EmployeeSelection" EnableRowVirtualization="False" ItemsSource="{Binding Childs}" AutoGenerateColumns="False" AutoExpandItems="True" IsReadOnly="True" RowDetailsVisibilityMode="VisibleWhenSelected" SelectionMode="Single" IsFilteringAllowed="False" CanUserDeleteRows="False" CanUserInsertRows="False" RowDetailsTemplate="{StaticResource ErrorWorkdaysTemplate}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}"> <telerik:RadTreeListView.ChildTableDefinitions> <telerik:TreeListViewTableDefinition ItemsSource="{Binding Childs}"/> </telerik:RadTreeListView.ChildTableDefinitions> <telerik:RadTreeListView.Columns> <telerik:GridViewDataColumn UniqueName="Name" DataMemberBinding="{Binding Name}" Header="Name" Width="*"/> <telerik:GridViewDataColumn DataMemberBinding="{Binding PersonnelNumber}" Header="Number" Width="70"/> </telerik:RadTreeListView.Columns> </telerik:RadTreeListView></UserControl><telerik:RadCartesianChart > <telerik:RadCartesianChart.HorizontalAxis> <telerik:CategoricalAxis GapLength="0" /> </telerik:RadCartesianChart.HorizontalAxis> <telerik:RadCartesianChart.VerticalAxis> <telerik:LinearAxis /> </telerik:RadCartesianChart.VerticalAxis> <telerik:RadCartesianChart.Grid> <telerik:CartesianChartGrid MajorLinesVisibility="Y" /> </telerik:RadCartesianChart.Grid> <telerik:RadCartesianChart.SelectionPalette> <telerik:ChartPalette> <telerik:ChartPalette.GlobalEntries> <telerik:PaletteEntry Fill="Orange" /> </telerik:ChartPalette.GlobalEntries> </telerik:ChartPalette> </telerik:RadCartesianChart.SelectionPalette> <telerik:RadCartesianChart.Behaviors> <telerik:ChartSelectionBehavior /> </telerik:RadCartesianChart.Behaviors> <telerik:RangeBarSeries ItemsSource="{Binding Items}" LowBinding="Min" HighBinding="Max" CategoryBinding="X" CombineMode="Cluster" /> <telerik:RangeBarSeries ItemsSource="{Binding Items2}" LowBinding="Min" HighBinding="Max" CategoryBinding="X" CombineMode="Cluster" Visibility="Collapsed" /></telerik:RadCartesianChart>Ã System.Windows.Media.VisualTreeHelper.HitTest(Visual reference, HitTestFilterCallback filterCallback, HitTestResultCallback resultCallback, HitTestParameters hitTestParameters) Ã Telerik.Windows.Controls.VisualTreeHelperExtensions.GetElementsInHostCoordinates[T](UIElement subtree, HitTestParameters hitTestParams) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Common\VisualTreeHelperExtensions.cs:ligne 141 Ã Telerik.Windows.Controls.VisualTreeHelperExtensions.GetElementsInHostCoordinates[T](UIElement subtree, Rect localIntersectingRect) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Core\Controls\Common\VisualTreeHelperExtensions.cs:ligne 134 Ã Telerik.Windows.Controls.ChartView.ChartSeries.<HitTestElementsCore>d__c.MoveNext() dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\ChartSeries.Behavior.cs:ligne 158 Ã Telerik.Windows.Controls.ChartView.ChartSeries.<HitTestDataPointsCore>d__14.MoveNext() dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\ChartSeries.Behavior.cs:ligne 176 Ã Telerik.Windows.Controls.ChartView.ChartSeries.<HitTestDataPoints>d__0.MoveNext() dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Common\ChartSeries.Behavior.cs:ligne 122 Ã Telerik.Windows.Controls.ChartView.ChartSelectionBehavior.UpdateDataPointSelection(ChartSeries series) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartSelectionBehavior.Branch.cs:ligne 346 Ã Telerik.Windows.Controls.ChartView.ChartSelectionBehavior.UpdateSelection() dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartSelectionBehavior.Branch.cs:ligne 267 Ã Telerik.Windows.Controls.ChartView.ChartSelectionBehavior.DoSelection(Point location) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartSelectionBehavior.Branch.cs:ligne 221 Ã Telerik.Windows.Controls.ChartView.ChartSelectionBehavior.AdornerContainerMouseLeftButtonUp(Object sender, MouseButtonEventArgs e) dans c:\TB\102\WPF_Scrum\Release_WPF\Sources\Development\Controls\Chart\Visualization\Behaviors\ChartSelectionBehavior.Branch.cs:ligne 210 Ã System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) Ã System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) Ã System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) Ã System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) Ã System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) Ã System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) Ã System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) Ã System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) Ã System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) Ã System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) Ã System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) Ã System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) Ã System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) Ã System.Windows.Input.InputManager.ProcessStagingArea() Ã System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) Ã System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) Ã System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) Ã System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) Ã System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) Ã MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) Ã MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) Ã System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) Ã MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) Ã System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) Ã MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) Ã MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) Ã System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) Ã System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) Ã System.Windows.Threading.Dispatcher.Run() Ã System.Windows.Application.RunDispatcher(Object ignore) Ã System.Windows.Application.RunInternal(Window window) Ã System.Windows.Application.Run(Window window) Ã System.Windows.Application.Run() Ã TelerikChartViewSelection.App.Main() dans E:\Documents\Visual Studio 2010\Projects\TelerikChartViewSelection\obj\x86\Debug\App.g.cs:ligne 0 Ã System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) Ã System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) Ã Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() Ã System.Threading.ThreadHelper.ThreadStart_Context(Object state) Ã System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) Ã System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) Ã System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) Ã System.Threading.ThreadHelper.ThreadStart()