To reproduce: 1. Use the following code snippet: public class ViewModel:INotifyPropertyChanged { public ViewModel() { } private bool _isShown; public bool IsShown { get { return this._isShown; } set { this._isShown = value; OnPropertyChanged("IsShown"); } } public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(string propertyName) { PropertyChangedEventHandler handler = PropertyChanged; if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName)); } } 2. Add a MS Panel and a RadPanel to the form. 3. Add Panel.DataBindings at design time for its Visible property to the ViewModel.IsShown property. 4. When you run the application, the MS Panel is not visible. However, if you remove the RadPanel it is shown. Please refer to the attached sample video illustrtaing better the performed steps.
This theme is available in WPF suite. We have the Light and Dark variations as well.
After revamping the documentation for the Telerik UI for WinForms product, the following problems occurred: 1. Search for a specific class or method in the search box in the following site: https://docs.telerik.com/devtools/winforms/introduction. Select one of the results referring to the API documentation. As a result you will be navigated to the main page of the API reference instead of to the respective class or method. Refer to the Problem1.gif file. It seems that the search results from the API reference return old links for the previous API link pattern. 2. The search box in https://docs.telerik.com/devtools/winforms/api/ is significantly lagging while typing. We should consider performing the search operation after pressing Enter and not with each keystroke. Please refer to the Problem2.gif file. 3. When you scroll the navigation view on the left side to a certain position and select an article, the vertical scrollbar sometimes gets reset to the top position and you have to scroll back. (Note that this problem is not reproduced each time).
Add heatmap control as in the WPF suite http://www.telerik.com/products/wpf/heatmap.aspx
After a project, built with the standard MS controls, is successfully converted to a Telerik WinForms project, the subscriptions to certain events available in the Designer.cs file may disappear if you open the design view and make some changes. A solution for this behavior is described in the How to Deal with Disappearing Event Handlers after Opening the Designer for a Converted WinForms Project KB Article.
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.
ADD. NewControl - add TreeMap 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ó
StackTrace:
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Telerik.WinControls.VisualElement.GetScaledFont(Single scale)
at Telerik.WinControls.UI.LightVisualElement.CreateTextParams()
at Telerik.WinControls.UI.GridCellElement.CreateTextParams()
at Telerik.WinControls.UI.TextPart.Measure(SizeF availableSize)
KeyNotFoundException when trying to access a dictionary in GetScaledFont, because of race condition, when setting a Font in another thread.
1. Create a new project and add RadForm. 2. Open the form at design time. 3. Set its ThemeName to ControlDefault. 4. Choose the Reset option from the ThemeName drop down. 5. Repeat this operation several times and watch how form size changes.
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
ADD. Data Validation component, which allows the user to set at design time the validation requirements to sets of controls
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>());
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.
Add Navigation bar Like the one at the bottom of Outlook 2013 with pop-ups when hovering.
It will be nice if our WinForms suite provides a touch keyboard (useful in the case of tablets and kiosks). It will be also good of the keyboard is attached an shown automatically when an editor control gets focus.
Syntax highlighting editor that supports C# and intelisense