Hello,
Select Tab Control in Product Browser
Shift + MouseClick on TabControl/TabItem
An error is shown.
Tomas
Hello,
Select Tab Control in Product Browser
Shift + MouseClick on TabControl/TabItem
An error is shown.
Tomas
Hello Tomas,
As you may know, now we ship a new WPF Theme Designer tool that in its first edition was intended to provide the capability to change colors in custom themes. Moreover, in special Color Themes (i.e. the Office2016 SE, VS2017 themes at the moment) such colors can be changed in groups - so-called Palettes (see: Edit Palette Colors). This makes it significantly easier to change colors of our controls in custom themes.
Starting with v18.2, this tool supports XAML editing and allows you to customize corresponding resources in your custom themes. Theme Editor, in turn, does not support WPF Controls v18.2 and the issue that we are discussing here does not occur in our new tool. Therefore, now we recommend using the Theme Designer tool instead. For more details, please refer to the following help topics:
Import Themes
Edit a Theme in XAML
Once you have an opportunity to test this tool and its features, please let us know about your experience. We will be also happy to assist you if you face any difficulties using Theme Designer.
Thanks,
Andrey
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi,
I have replicated this behavior and forwarded the ticket to our developers for further research. We will answer you once we have any results.
Just tried the hotfix. I still get the same exception and red X on the Theme Navigator window, however the Visual Tree Browser does show the tree now.
Hi Matt,
I have played with the latest hotfix and TabControl is shown properly in ThemeEditor. Please take a look at the attached screencast. Are there additional steps I need to perform to get the exception? Or, probably this issue is reproduced only in specific themes. Would you please clarify what theme you are trying to change?
Thanks,
Andrey
Good morning Andrey,
I just tried it again today, starting the Theme Editor as Administrator, and it worked just fine. I don't remember if I ran as admin yesterday or not, but I couldn't even load the project today without admin, so who knows.
Thanks for the response, I'm good to go!
Matt
You are welcome. We are happy to hear that the issue is resolved. Thank you for keeping us informed.
Andrey
Hi,
I've installed the hotfix and I'm getting this error (screenshot). (NewTheme from Office2010Blue)
after the Build command, it generates this
System.NullReferenceException: Odkaz na objekt není nastaven na instanci objektu.
v DevExpress.Xpf.ThemeEditor.Utils.TemplateNavigationHelper.GetXamlPosition(DependencyPropHelper prop)
v DevExpress.Xpf.ThemeEditor.Utils.TemplateNavigationHelper.UpdateCurrentTemplate(VisualTreeItem item)
v DevExpress.Xpf.ThemeEditor.UI.TemplateAnalyzer.Reload(VisualTreeItem navItem)
v DevExpress.Xpf.ThemeEditor.UI.VisualTreeBrowser.SelectTargetItem(TreeViewItem selItem)
v DevExpress.Xpf.ThemeEditor.UI.VisualTreeBrowser.Reload(ReloadNavigatorEventArgs e)
v DevExpress.Xpf.ThemeEditor.Core.Events.NavigatorEventHelper.OnReloadNavigatorEvent(Object sender, ReloadNavigatorEventArgs e)
v DevExpress.Xpf.ThemeEditor.Core.Events.NavigatorEventHelper.OnReloadNavigatorEvent(Object sender, ReloadNavigatorEventArgs e)
v DevExpress.Xpf.ThemeEditor.Core.Events.ProviderEventHelper.OnReloadNavigator(ReloadNavigatorEventArgs e)
v DevExpress.Xpf.ThemeEditor.Preview.PreviewWindow.PreviewItemSelChanged(Object target)
v DevExpress.Xpf.ThemeEditor.Preview.PreviewWindow.OnPreviewMouseLeftButtonDown(Object sender, MouseButtonEventArgs e)
v System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
v System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
v System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
v System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
v System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
v System.Windows.UIElement.OnPreviewMouseDownThunk(Object sender, MouseButtonEventArgs e)
v System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
v System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
v System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
v System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
v System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
v System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
v System.Windows.Input.InputManager.ProcessStagingArea()
v System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
v System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
v System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
v System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
v System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
v MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
v MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
v System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
v MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
Tomas
Hello Tomas,
I can replicate this problem on our side. It seems that the bug is not fixed completely. So, I have deleted a link to the hotfix from this ticket and re-activated it.
Thanks,
Elliot
Hello,
Any news?
Hello Tomas,
I have contacted our R&D regarding this issue. Currently, they are working on it. We will do our best to provide a solution as soon as possible. Please bear with us.
Thanks,
Michael
Hello,
Any news?
I need to edit style of DXTabControl for whole application (to change background color).
Hello,
Our developers are still working on this problem. It turned out to be more complex than it seemed at first glance. We found the cause of the issue and are working on a solution that doesn't affect other ThemeEditor parts. We will do our best to solve the problem as soon as possible. Please stay tuned to our updates in this thread.
Thanks,
Andrey
Hello,
Any news?
I've tested the v15.2.3 and the issue still persists.
I need to edit style of DXTabControl for whole application (to change background color).
Tom
Hi Tom,
No, I am afraid, the issue is still not fixed. I have extracted your inquiry into a separate thread to help you to find an immediate solution. Let's discuss your task in How to change the DXTabControl background.