When a RadSvgImage document is modified the cache of raster images needs to be cleared, so the modifications can be visualized.
For example we want to change the following SVG
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<defs>
<style>.cls-1{fill:none;stroke:#228bcb;stroke-miterlimit:5;stroke-width:1.2px;} </style>
</defs>
<g id="undoModern16">
<g id="icon">
<path class="cls-1" d="M5.61,10.36.82,5.51,5.61.63M9.5,14.5h1.28A4.51,4.51,0,0,0,15.38,10h0a4.52,4.52,0,0,0-4.6-4.5H.82" />
</g>
</g>
</svg>
Here is how it looks :
To change the color of this SVG we need to change the stroke color of the path that represents the arrow. First, we need to find the element of type SvgPath and then set its stroke to the desired color.
RadSvgImage svg = this.buttonUndo.SvgImage;
Svg.SvgPath path = svg.Document.Children.FindSvgElementOf<Svg.SvgPath>();
// set arrow color to gray(51,51,51)
path.Stroke = new Svg.SvgColourServer(System.Drawing.Color.FromArgb(51, 51, 51));
// no API to reset the cache
As a workaround we need to reassign the image of button:
// clear the cache of RadSvgImage
this.buttonUndo.SvgImage = null;
this.buttonUndo.SvgImage = svg;
Another possible workaround when working with LightVisualElement and its derivatives is to clear the cache with reflection:
var fi = svg.GetType().GetField("cachedSizesToImages", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
fi.SetValue(svg, new Dictionary<Size, Bitmap>());
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
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.
At the moment one needs to iterate all controls and set the EnableCodedUITests property individually. It would be nice if there is a way this to be done only once affecting all controls.
A free configurable KANBAN-Board. - Add N columns. - Add tasks to column. - Move task by drag and drop between columns. - Task with header, image, link (or click event) - Task as expandable container
Make the RadDataFilter (http://www.telerik.com/products/wpf/datafilter.aspx) available for WinForm.
Add Navigation bar Like the one at the bottom of Outlook 2013 with pop-ups when hovering.
Add support for Coded UI in Visual Studio 2013.
At the moment, RadCalculatorDropDown allows displaying a calculator only in a popup editor. The new control should allow placing a calculator on a form or a user control.
Hello, The Toast Notification is similar than the MessageBox, but not block the UI with an "always on top" dialog and dont have a dialogresult return value. This is only a text message, that shown, and hides after specified second. I can set the text, the background and foreground color, the container control and the alignment of the notification. I use this control to interact with the user, but not disturb his work. Example messages: "The table saved successfully!" "Refresh done." etc.. The color can define also the type of the message: Green -> OK Red -> Error Yellow ->Warning Blue -> Information ... Thanks! Best Regards, László
radScrollBars - can't spy a button and thumb This is a limitation of the the CodedUI and it cannot records ScrollBar Controls. This is a limitation of the the CodedUI and it cannot records ScrollBar Controls.
Add heatmap control as in the WPF suite http://www.telerik.com/products/wpf/heatmap.aspx
Change the gestures logic so it can be enabled/disabled per-control. see Control1.SupportsGestures property