Is it possible to add a Hamburger Menu to the Telerik UI for WinForms? like: https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/navigationview
Implement a facility to convert a RadDocument to a RadPrintDocument (or something that can be handed to a RadPrintPreview) to avoid having to load up a RadRichTextEditor just to print a code-generated document.
To reproduce: Add some buttons to a form set the theme to Fluent and press the button using the space button Workaround: Use the attached theme.
Use attached project to reproduce. Workaround: Use attached theme.
Similar to Material Themes Blending (https://docs.telerik.com/devtools/winforms/tools/visual-style-builder/working-with-visual-style-builder/material-themes-blending) provide an easy way to change the palette for the Fluent themes.
How to reproduce: check the attached project and compare the font size of the two labels. Also when the form is moved from a screen with HDPI to a standard screen with DPI=96 the font does change.
Hello, i have a suggestion for WinControls, please add a comfortable language Support without methode override. Please create a property field Pull-Down MenĂ¼ in every Control where Developer can change the language of the control in e.g. englisch, spain, german and so on. The translation could be done very quickly with the help of the Telerik community and their experience.
To reproduce: - Open Theme Viewer, go ListView and sort it. - Change the theme to Fluent. Workaround: - Set the visibility of the item in the theme (see attached).
Currently the only way to have this work on a windows 10 machine with vs2017 is to install a depreciated version of Build tools 2015. Which causes some conflicts with vs2017 backwards compatibility.
Do you have a version which can support Microsoft .NET Framework 2.0? I run a sample application TelerikUIforWinFormsDemoAppsHub\BugTracker asking for Microsoft .NET Framework 4.0. We had some PC still running Microsoft .NET Framework 2.0.
Workaround: use a bigger image
Me.radCheckBox1.ButtonElement.CheckMarkPrimitive.CheckElement.ShouldPaint = False
Dim dpi As Point = NativeMethods.GetSystemDpi()
Dim scale As Integer = dpi.X
If scale >= 300 Then
Me.radCheckBox1.ButtonElement.CheckMarkPrimitive.Image = Image.FromFile("..\..\check-mark.png")
ElseIf scale >= 200 Then
'...
Else
'...
End If
We load a default theme and modify it in code. This works great and allows for great flexibility. The problem is that this adds a pretty substantial overhead to the application start. It would be great to have a way to save the modified theme as a file so if there are no changes to be made since the last start, we could just load this files instead of executing all the customizing code. Benefits from this approach: * Multiple developers can change the code at the same time without any conflicts. * The theme can be updated with every new Telerik version without any work on our side. * We can use different base themes and apply the same customizing without the hassle of maintaining multiple files and the danger of getting out of sync.
The ImageList property is visible in the Properties section of VisualStudio for RadTextBox, RadTextBoxControl etc.
How to reproduce: set the MinimumSize property of a RadButton in a DPI-aware app
Workaround:
Public Class RadForm1
Dim minMaxStack = New Stack(Of Dictionary(Of Control, Tuple(Of Size, Size)))()
Sub New()
InitializeComponent()
End Sub
Protected Overrides Sub HandleDpiChanged()
Dim scaleFactor As Single = 1.0F
Dim oldDpi = GetType(RadFormControlBase).GetField("oldDpi", BindingFlags.Instance Or BindingFlags.NonPublic).GetValue(Me)
Dim currentDpi = GetType(RadFormControlBase).GetField("currentDpi", BindingFlags.Instance Or BindingFlags.NonPublic).GetValue(Me)
If oldDpi <> 0 Then
scaleFactor = CSng(currentDpi) / oldDpi
ElseIf oldDpi = 0 Then
scaleFactor = CSng(currentDpi) / 96.0F
End If
If scaleFactor = 1.0F Then
Return
End If
Me.SaveMinMaxStates()
MyBase.HandleDpiChanged()
Me.RestoreMinMaxStates()
End Sub
Private Sub SaveMinMaxStates()
If Me.minMaxStack Is Nothing Then
Me.minMaxStack = New Stack(Of Dictionary(Of Control, Tuple(Of Size, Size)))()
End If
Dim minMax As New Dictionary(Of Control, Tuple(Of Size, Size))()
Dim queue As New Queue(Of Control)()
For Each ctrl As Control In Me.Controls
queue.Enqueue(ctrl)
Next
While queue.Count > 0
Dim ctrl As Control = queue.Dequeue()
If TypeOf ctrl Is RadControl Then
minMax.Add(ctrl, New Tuple(Of Size, Size)(ctrl.MinimumSize, ctrl.MaximumSize))
ctrl.MinimumSize = Size.Empty
ctrl.MaximumSize = Size.Empty
End If
For Each childControl As Control In ctrl.Controls
queue.Enqueue(childControl)
Next
End While
Me.minMaxStack.Push(minMax)
End Sub
Private Sub RestoreMinMaxStates()
Dim minMax As Dictionary(Of Control, Tuple(Of Size, Size)) = Me.minMaxStack.Pop()
Dim queue As New Queue(Of Control)()
For Each ctrl As Control In Me.Controls
queue.Enqueue(ctrl)
Next
While queue.Count > 0
Dim ctrl As Control = queue.Dequeue()
If minMax.ContainsKey(ctrl) Then
ctrl.MinimumSize = minMax(ctrl).Item1
ctrl.MaximumSize = minMax(ctrl).Item2
minMax.Remove(ctrl)
End If
For Each childControl As Control In ctrl.Controls
queue.Enqueue(childControl)
Next
End While
minMax.Clear()
End Sub
End Class
Extract the source in a folder like this: "Telerik UI for WinForms R3 2017" Workaround: Remove the spaces in the path.
I have literally for weeks now, tried to find a single theme that works properly with High Dpi scaling, including the new material themes. None of them work, I mean not even to the point that, it's just a few quirks. I can't deploy applications, without extensive code to modify the way the controls look. My request, is take something like material (preferably with a professional color scheme), or telerik touch, make the need adjustments to make them HiDpi, and then EXTENSIVELY test it, to insure it works.
Bitdefender moved a threat to quarantine. File name: c:\program files (x86)\progress\telerik ui for winforms r3 2017\examples\medicalapp\medicalappcs\bin\medicalappcs.exe. It is recommended that you run a System Scan to make sure your system is clean.
Workaround:
1. Explicitly set the font of the checkbox with code.
this.radCheckBox1.Font = new Font("Segoe UI", 9.0f, FontStyle.Regular);
2. Use the attached custom theme.