Current filter:
                                You should refresh the page.
                                  • Can you change the Simple button colors only in the DevExpress WPF Theme Designer? Every time I try it changes the grid also. I just want to change the colors for the simple button. I am trying to control it from the theme only. The issue I see is the button always looks like the background of the form.

                                1 Solution

                                Creation Date Importance Sort by

                                Hello,

                                I've recorded short screencasts illustrating how you can change SimpleButton's background both in the Classic and Color themes by using the Theme Designer (see the Office2016White.mp4 and Office2016WhiteSE.mp4 files respectively). Try the same approach on your side and check if this helps.

                                If not, I'd appreciate it if you specify the theme that you used as a basic theme and record a short video illustrating your steps.

                                Thanks,
                                Andrey

                                Show all comments
                                • Customer99437 10.09.2019

                                  This change also changes the buttons in the grid also and other locations. Is their a way to just change the simple standalone buttons only in the theme? 

                                • André (DevExpress Support) 10.09.2019

                                  Hello,

                                  Please send us screenshots of buttons that should and should not be affected in your application. In addition, clarify the name of the theme that you want to modify. I look forward to your reply.

                                • Customer99437 10.09.2019

                                  The top of the image has simple buttons and the bottom has a grid. The back color for the button in the theme is linked somehow and changing one color changes both colors in grid header and button background.

                                • André (DevExpress Support) 10.09.2019

                                  I attached a video demonstrating that changing the Button background in a theme, based on Office2016White, doesn't affect column headers. To find the cause of the problem on your side, please record a video demonstrating how you customize your theme and let us know what base theme you use. Alternatively, send us your theme designer project so we can research it on our side.

                                • Customer99437 10.09.2019

                                  How are you seeing the buttons.xaml file? When I open buttons it never shows XAMLcode. From Solution Explorer it does not have an editor section that is able to load XAML code.

                                • Customer99437 10.09.2019

                                  My preview code is always blank.

                                • André (DevExpress Support) 10.10.2019

                                  Hello,

                                  Please refer to the following documentation section to learn how to open the corresponding XAML file: Find an Element in XAML. Also, you can review the video in Andrey's answer to see this approach in action.