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.
The design of RadButton in ControlDefault Default state should be implemented through setting the BorderBoxStyle to OuterInnerBorder. When the default drawing is used, however, the inner border introduces visual glitches in the control's corners.
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
TextAlign property at RadTextBoxItem is not serialized at design-time.
If you set the GenerateMember of an element to false, it generally removes 'this' from the serialized code concerning the element. However, in the cases where we have a serialized cast in the designer, the word 'this' remains. Since the element is not a member of the form/user control, we get a compile error.
When you place several editor instances in a FlowLayoutPanel, for example RadTextBox, RadComboBox, RadDateTimePicker and set their Width to 100, this setting is lost when you run the project.
When you try to set a value to the ToolTipText property of a RadItem (let's say RadButtonElement), this setting is not serialized in the designer.
Register themes as components
Use attached project to reproduce. Workaround: Use attached theme.
There is an exception when setting LightVisualElement.Text property to null.
1. Create a new project and add a RadGridView 2. Add a large number of columns (e.g 400) 3. Apply grouping 4. Run on a citrix environment or a virtual machine
Steps to reproduce: 1. Add a separator to a form 2. Set Orientation to Vertical 3. Set the theme to TelerikMetro or TelerikMetroBlue You will see that the separator is not drawn correctly.
Resolution: The issue is no longer reproducible under OS Windows 2008 Server
1. Create a new project with RadCarousel. 2. Add some items. 3. On item click change the current theme. 4. Run the project and click an item.
How to reproduce: check the attached screenshot Workaround create a custom RadPrintPreviewDialog public class MyRadPrintPreviewDialog : RadPrintPreviewDialog { protected override WatermarkPreviewDialog CreateWatermarkDialog() { WatermarkPreviewDialog dialog = new WatermarkPreviewDialog(this.Document); RadPageViewPage pageText = (RadPageViewPage)dialog.Controls["radPageView1"].Controls["pageText"]; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextHOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextVOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextAngle"]).TextBox.Width = 43; ((PlusMinusEditor)pageText.Controls["plusMinusEditorTextOpacity"]).TextBox.Width = 43; RadPageViewPage pagePicture = (RadPageViewPage)dialog.Controls["radPageView1"].Controls["pagePicture"]; ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageHOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageVOffset"]).TextBox.Width = 43; ((PlusMinusEditor)pagePicture.Controls["plusMinusEditorImageOpacity"]).TextBox.Width = 43; return dialog; } }
When the RadTextBox.Anchor is set to Bottom, Left, Right (and the AutoSize property is true), RadTextBox.Location is set to a wrong value when the form loads. This is a general RadControls issue.
Use attached to reproduce.
The restore button of RadForm has the following inconsistent styles: Office2010Silver - The image is identical for the maximize and restore states Office2010Black - The back color of the button is wrong when the form is started maximized.