Telerik Forums
UI for WinForms Forum
1 answer
10 views

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.

 

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Apr 2024
0 answers
15 views

Hello,

I am looking for a freelance GUI Designer familiar with Telerik UI for Winforms for an internal Project

best regards

 

Stefan

 

Stefan
Top achievements
Rank 1
 asked on 19 Mar 2024
2 answers
45 views

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.

 

nely
Top achievements
Rank 1
Iron
 answered on 08 Oct 2023
1 answer
42 views

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?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Oct 2023
1 answer
60 views

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!

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 31 Jul 2023
1 answer
138 views

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


 

Dinko | Tech Support Engineer
Telerik team
 answered on 10 Jul 2023
1 answer
59 views

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. :-)

 

Dinko | Tech Support Engineer
Telerik team
 answered on 17 May 2023
1 answer
91 views

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?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 May 2023
1 answer
38 views
I just loaded a completely blank project - nothing in it.  I wanted to start playing around with themes, but nothing seems to make the themes populate in the theme list.  I just have ControlDefault and Reset as options.  I have added multiple themes to the form, and followed the videos, and even tried to create another project.  Am I missing a step I didn't see in the docs/videos?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Apr 2023
2 answers
104 views

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?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Apr 2023
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
ChartView
Calendar, DateTimePicker, TimePicker and Clock
Buttons, RadioButton, CheckBox, etc
DropDownList
ComboBox and ListBox (obsolete as of Q2 2010)
ListView
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
Menu
PropertyGrid
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
Tabstrip (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
GanttView
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
VirtualGrid
ContextMenu
Spreadsheet
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
Rotator
TrackBar
MessageBox
CheckedDropDownList
SpinEditor
StatusStrip
CheckedListBox
Wizard
ShapedForm
SyntaxEditor
TextBoxControl
LayoutControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
CAB Enabling Kit
TabbedForm
DataEntry
GroupBox
ScrollablePanel
WaitingBar
ImageEditor
ScrollBar
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
VirtualKeyboard
FilterView
Accessibility
DataLayout
NavigationView
ToastNotificationManager
CalculatorDropDown
Localization
TimePicker
ValidationProvider
FontDropDownList
Licensing
BreadCrumb
ButtonTextBox
LocalizationProvider
Dictionary
Overlay
Security
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
Rating
TimeSpanPicker
BarcodeView
Calculator
OfficeNavigationBar
Flyout
TaskbarButton
HeatMap
SlideView
PipsPager
+? more
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Dominik
Top achievements
Rank 1
Giuliano
Top achievements
Rank 1
Dominic
Top achievements
Rank 1
Glendys
Top achievements
Rank 1
NoobMaster
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?