Hello there,
I've got a RichTextBox tied to a Ribbon using the VisualStudio2013 theme. The theme can be loaded up via the dll or the xaml files. After the initial load of the control everything works just fine. After selecting a font family and then clicking on another tab, and then clicking back into the tab to change the font family I get the following:
System.InvalidOperationException: Animation target not specified.
at MS.Internal.XcpImports.MethodEx(IntPtr ptr, String name, CValue[] cvData)
at MS.Internal.XcpImports.MethodEx(DependencyObject obj, String name)
at System.Windows.Media.Animation.Storyboard.Begin()
at Telerik.Windows.Controls.Animation.AnimationManager.Play(FrameworkElement target, String animationName, Action completeCallback, Boolean animateSelf, Object[] args)
at Telerik.Windows.Controls.Animation.AnimationManager.Play(FrameworkElement target, String animationName, Action completeCallback, Object[] args)
at Telerik.Windows.Controls.AutoClosePopupWrapper.OnPopupOpened(Object sender, EventArgs e)
at MS.Internal.CoreInvokeHandler.InvokeEventHandler(UInt32 typeIndex, Delegate handlerDelegate, Object sender, Object args)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName, UInt32 flags)
I can't attach the files for you to review. It's really a simple form. Nothing complex going on. I've pulled most of the code from the demo site. This is an oob app with a secondary window launching the control.
If I remove the styling and use the default theme, Office_Black I think, it works just fine.
Any idea what I need to adjust to get this to work? I'm not able to get the sample on the demos site to break. But you are also applying the styles differently.
This is with a new docx. Nothing is being loaded into the RichTextBox.
Cheers,
Caleb