Steps to reproduce:
- Run the attached code example.
- Click on the Grid item so that it accepts focus.
- Press Enter.
Expected results:
No errors.
Current results:
Call StackDevExpress.Data.Internal.XtraSerializationSecurityTrace.NonPrimitiveTypeDeserializationException
HResult=0x8013150A
Message=The DevExpress.DashboardCommon.ViewerData.AxisPointTuple type is not primitive and not in the list of trusted types and therefore is not deserialized due to security reasons. See the https://go.devexpress.com/Jan2019_Deserialization_Issue_Tag_Property.aspx article for additional information.
Source=DevExpress.Data.v24.2
StackTrace:
at DevExpress.Data.Internal.SafeTypeResolver.EnsureTypeIsPrimitiveOrEnum(String typeName, Type type, Boolean isTypeTrusted, Boolean throwOnError)
at DevExpress.Data.Internal.SafeTypeResolver.TryGetPrimitiveOrTrustedTypeOrThrow(String typeName, Boolean throwOnError)
at DevExpress.Data.Internal.SafeTypeResolver.GetPrimitiveOrTrustedType(String typeName, IDictionary`2 additionalTrustedTypes, Nullable`1 throwOnError)
at DevExpress.DashboardCommon.Native.XmlHelper.LoadObjectFromXml(XElement element, Boolean raiseException)
at DevExpress.DashboardCommon.Native.XmlHelper.LoadInteractivityValuesFromXml(XElement parentElement, String xmlList)
at DevExpress.DashboardCommon.DashboardItemState.LoadFromXml(XElement element)
at DevExpress.DashboardCommon.DashboardState.LoadFromXml(XDocument document)
at DevExpress.DashboardCommon.DashboardState.Clone()
at DevExpress.DashboardWin.DashboardViewer.GetDashboardState()
at DevExpress.DashboardWin.DashboardViewer.RaiseDashboardStateChanged()
at DevExpress.DashboardWin.Native.DataDashboardItemViewer.<SubscribeInteractivityController>b__141_5(Object s, EventArgs e)
at DevExpress.DashboardCommon.Native.InteractivityControllerBase.RaiseStateChanged(Object sender, EventArgs args)
at DevExpress.DashboardCommon.Native.InteractivityBehavior.RaiseStateChanged()
at DevExpress.DashboardCommon.Native.InteractivityBehavior.DrillDown(Object value, Boolean forceUpdate)
at DevExpress.DashboardCommon.Native.InteractivityController.DrillDown(Object value)
at DevExpress.DashboardWin.Native.GridDashboardItemViewer.OnGridControlKeyUp(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyUp(KeyEventArgs e)
at DevExpress.XtraGrid.GridControl.OnKeyUp(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraEditors.Container.EditorContainer.WndProc(Message& m)
at DevExpress.XtraGrid.GridControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at DevExpress.Utils.Drawing.Helpers.NativeMethods.UnsafeNativeMethods.DefSubclassProc(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam)
at DevExpress.Utils.Drawing.Helpers.Win32SubclasserFactory.Win32Subclasser.SubClassProcInner(IntPtr hWnd, IntPtr Msg, IntPtr wParam, IntPtr lParam, IntPtr uIdSubclass, IntPtr dwRefData)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at T1279944.Program.Main() in C:\D\MyWork\VCProjects\T1279944\Program.cs:line 18