or
/// <summary>/// Tells whether the input in the TextBox of this DatePicker is valid. This property is/// updated continously as the user types in the TextBox./// </summary>public bool IsInputValid{ get { return (bool)GetValue(RadDatePickerExtended.IsInputValidProperty); } set { SetValue(RadDatePickerExtended.IsInputValidProperty, value); }}public static readonly DependencyProperty IsInputValidProperty = DependencyProperty.Register("IsInputValid", typeof(bool), typeof(RadDatePickerExtended), new FrameworkPropertyMetadata(true));private void RadDatePickerExtended_ParseDateTimeValue(object sender, ParseDateTimeEventArgs args){ //If RadDatePicker could not parse the input... if (!args.IsParsingSuccessful) { //HERE I DO SOME EXTRA PARSING FOR INPUT THAT I WANT TO SUPPORT //BUT THAT IS NOT SUPPORTED BY RadDatePicker. IN ALL CASES //WHERE THE PARSING IS SUCCESFUL AND A DATETIME IS SET, I //ALSO SET args.IsParsingSuccessful TO TRUE. IsInputValid = args.IsParsingSuccessful; } else { //The input was succesfully parsed by the default parsing in the RadDatePicker. IsInputValid = true; }}at Telerik.Windows.Controls.Charting.CameraExtension.CalculatePointProjection(Point point) at Telerik.Windows.Controls.Charting.CameraExtension.InitialTransformUpdate() at Telerik.Windows.Controls.Charting.CameraExtension.ChartAreaUpdatedTimerElapsed(Object sender, EventArgs e) at System.Windows.Threading.DispatcherTimer.FireTick(Object unused) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run()var cameraExtension = new CameraExtension();
radChart.DefaultView.ChartArea.Extensions.Add(cameraExtension);