I'm trying to use the Windows11Compact theme as default for an entire application, using the config below.
This is a WinForms project in C#, I have the Windows11 theme dll added to the project, and I'm trying to automaticaly apply the Windows11Compact theme for all controls and all forms that will be added in the project. I don't want to set the theme in runtime because I need to see the theme during the design of the application.
With the config shown above the theme is not applied. It only uses the default Telerik theme.
However, if I change to the Windows11 theme the form updates automaticaly as well as any control I add. It also work's with the Fluent Theme for exemple.
The version of telerik I'm using is Telerik for WinForms 2024.1.312.40.
Thank you in advance for any answer.
Hello,
I am looking for a freelance GUI Designer familiar with Telerik UI for Winforms for an internal Project
best regards
Stefan
Hello!
I have two questions:
1) I'm trying (without success) to change the background color of my Application Menu (button?) Button on the left side of the Ribbon that opens (in my case) to the Backstage from inside Visual Style Builder. Can you point me to the correct element please?
2) This one is a little more difficult to explain - I'll be attaching before/after images in case I'm not as clear as I'd like to be.
using RadRibbonForm there are Tabs. Under the Tabs are Groups. These groups contain buttons, lists, etc that live on the Ribbon.
I'm trying to set the background color for these groups and while I was successful in doing that, there's an unpleasant space/gap/padding? that surrounds the "group"
How do i remove that gap? Also, how do i make this fill rectangular? There should be no 'gradient' going from the background color - to white.
I can make the mods in-code if needed, the best choice would be to learn where to update these properties in Visual Style Builder.
Kindest regards,
Curtis.
Hi,
I have a grid within a panel and I want to adjust the panel height based on the total height of the grid.
Using this code:
Me.Panel1.Height = Me.grid.TableElement.RowHeight * Me.grid.RowCount + grid.TableElement.TableHeaderHeight + 5
It seems to work ok if I use "Fluent" theme but not for "VisualStudio2012Light". I have attached a sample form.
Any explanation for this and how do I fix it?
HI,
Is it possible to apply Telerik themes to any of the native (i.e. non-Telerik) Microsoft controls, such as System.Windows.Forms.Button? This is possible with WPF controls (https://docs.telerik.com/devtools/wpf/styling-and-appearance/stylemanager/common-styling-themes-mscontrols), but I have not found any documentation for doing this with WinForms controls.
Is this possible?
Thanks!
Hello,
I have a RadPageView control with Windows 8 theme and strip view mode.
When I disable the control, the color of the strip behind the tabs changes to a dark gray. I do not want it to change, but to stay in control color.
If I use the EnabledChange event and change the ItemContainer.BackColor of the StripElement it still shows the dark gray first.
I have seen that this is possible for example in Fluent theme, but want to use Windows 8 theme for my application.
I would love to use an easy way (SetThemeValueOverride) if possible. But I also haven't found a fitting property in the theme's style repositories and groups
I'm using the built-in 'Fluent' Theme, and one bit I don't like is that by default the color of the text in a text box (and same for most other controls) is a mid-grey. This only turns to black when the mouse hovers over it.
Is there a simple way to change this behaviour? To make it black all the time? It's making it hard to take video of my application being used, because the text is quite pale.
Oh, and PLEASE don't tell me that 'I just need to edit the Theme' - I don't make changes to themes very often, and each time I do, I have to re-discover how powerful - and complicated - it is. :-)
I have some controls which get embedded inside another application, so they don't have aparent Form.
But they need to share the same Theme as all the forms.
Setting the Theme for the forms is easy.
But I can't see where to apply the same Theme to a Control? Is this even possible?
My application uses a global application wide theme via ThemeResolutionService.
I can view my form, buttons, grids etc in the application theme when using the visual studio designer because I load the application theme in the form constructor.
I have a button that will use a different theme called "RedButton". I can force the button to use the different theme at run time via RadThemeManager using:
myButton.ElementTree.EnableApplicationThemeName = False
myButton.ThemeName = "RedButton"
At runtime, I can see my red button. However; in the visual studio designer, the 'red button' is still using the application theme.
I don't see the ability to disable the application theme on my button in the designer.
How can I get the visual studio designer to show my 'red button' while the application theme is also loaded?