Workaround: The vsdiffmerge.exe merge tool in Visual Studio 2017 is usually located here: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer. You will need to create one additional folder named Ide inside the Team Explorer folder Then you can copy the vsdiffmerge.exe file from the Team Explorer folder to the newly created Ide folder. You can check the attached vsdiffmerge-path.png screenshot. Then you can create the environment variable like this: Variable name: VS120COMNTOOLS Path: C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\IDE
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.
Workaround: 1. Explicitly set the font of the parent of the controls. 2. Use a custom theme with the FontSegoeUI8.25 repository: check the attached screenshot
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.
To reproduce: 1. Add HelpProvider on the form. 2. Add RadButton(or any other RadControl). 3. Use the following code: this.helpProvider1.SetHelpString(this.radButton1, "RadButton help message."); this.MaximizeBox = false; this.MinimizeBox = false; this.HelpButton = true; 4. Run the form, click form's help button and then click the button. - Help dialog is shown and instantly closed. Workaround: Subscribe to the control's HelpRequested event and show a tooltip. this.helpProvider1.SetShowHelp(this.radButton1, false); this.radButton1.HelpRequested += Control_HelpRequested; private void Control_HelpRequested(object sender, HelpEventArgs hlpevent) { Control control = sender as Control; if (control == null) { return; } hlpevent.Handled = true; RadToolTip tip = new RadToolTip(); tip.Show(this.helpProvider1.GetHelpString(control), 3000); }
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; } }
To reproduce: if you set in the app.manifest file <dpiAware>false</dpiAware>, the controls still scale when changing DPI. Workaround: Public Class RadForm1 Protected Overrides Sub OnLoad(e As EventArgs) Dim allowTheming = DirectCast(GetType(RadForm).GetField("allowTheming", BindingFlags.Instance Or BindingFlags.NonPublic).GetValue(Me), Boolean?) Dim behavior As ThemedFormBehavior = TryCast(Me.FormBehavior, ThemedFormBehavior) If behavior IsNot Nothing AndAlso allowTheming.HasValue AndAlso behavior.AllowTheming <> Me.AllowTheming Then behavior.AllowTheming = allowTheming.Value End If If Me.IsDesignMode Then GetType(RadFormControlBase).GetField("initialFormLocation", BindingFlags.Instance Or BindingFlags.NonPublic).SetValue(Me, Me.Location) Return End If Dim mi As MethodInfo = GetType(Form).GetMethod("OnLoad", BindingFlags.Instance Or BindingFlags.NonPublic) Dim ptr As IntPtr = mi.MethodHandle.GetFunctionPointer() Dim formOnOnLoad As Action(Of EventArgs) = DirectCast(Activator.CreateInstance(GetType(Action(Of EventArgs)), Me, ptr), Action(Of EventArgs)) formOnOnLoad(e) End Sub End Class
Use attached to reproduce.
How to reproduce: check the attached incorrect-text-position.gif video Workaround: change the SolidDisabledBorder repository according to the attached custom-metro-blue-theme.gif video and theme
To reproduce: - Associate a tree to the bread crumb - Set the control size to 0,0 - Auto size = true - Select a node from the tree -> the bread crumb size is not increased, thus it remains invisible.
To reproduce: - Set ShowRootLines to true - Apply one of the following themes: Aqua, Office2007, TelerikMetro, VS2012 Workaround: - Open the theme in visual style builder - Expand the RadTreeView in the ControlStructureWindow - Select TreeNodeExpandItem and expand it in the Elements window - Navigate to the PossitionOffset property and set its width to 1
Workaround - set the Visible property of the needed pages to true
The issue can be reproduced following the scenario: 1. Create theme for RadLabel and define its Image in the theme. The images should be different for the different element states of the label. 2. Use a RadThemeManager to apply the theme to the control in design time. The Image property will be serialized, assigned to the image of the default element state. Setting the local value of the property in this case prevents applying the images of the other states, defined in the theme.
To reproduce: - Try running the tool on a 32-bit operating system. - The tool reports that the correct version is not installed. Workaround: Manually create the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full The cre4ate the following DWORD 32-bitValue: Release 60636 This is shown in the attched iamge as well.
Let's say that you have a ShapedForm in VS. You navigate to its Shape property and try to create a custom shape through the Shape Editor. However, at the end the shape that you have created will not be applied correctly to the form.
Example: Add a single tile in RadPanorama, set it with RoundRectShape(12) and set an image with size equal to the size of the tile. The image will be drawn outside the bounds of the shape.