To whom it may concern,
In our MVVM-project, we are using a derived implementation of the RadRibbonWindow to add some customized functions, for example to add EventHandlers firing when something changed in the view, for example language or culture setting changes from another window. With the EventToCommandBehavior binding, we would like to pass the fired custom event to our view model to execute an async command. Although the event is not shown for autocompletion, everything works fine during runtime, and the command is executed when the event was fired. Unfortunately, the VisualStudio XAML designer cannot bind the custom event handler for the EventToCommand Behavior tag and therefore shows an exception within the XAML code, and within the XAML designer. Because of that binding problem, we are unable to further use the designer to get a preview of our designed windows.
We tried to derive our window from the basic WPF window (System.Windows.Window) and simply add the custom event handler but it did not work, either. Is there any problem with our implementation, or with the EventToCommandBehavior leading to an exception during design time? I have attached a minimal working example. In the code, I have derived a customized window class from the basic WPF window (shows the same error as the RadRibbonWindow), and have added a new event handler. This window is used as main window and fires the custom event when the event OnContentRendered function is called. The view binds this event within XAML to a command of the view model. The command is implemented with our customized asynchronous command. The XAML designer throws the described exception (as shown in the provided picture) but when I debug the program, a break point set within the function called by the command is hit.
I have removed the package "Telerik.Windows.Controls.for.Wpf.Xaml.2021.3.1109" within the .zip-folder because the code would have exceeded the maximum file size.
Sincerely,
Matthias Jörg
Steps to reproduce
Unfortunately due to the other cursor jumping bug our users are extremely sensitive to anything that makes it appear like the cursor is not in the position they moved it to.
I attached a gif of this happening with the zoom set to 500% so it is easiest to see but it appears to be a problem at any zoom level 100% or higher.
Issue : Currently the Free Trial / Download page states "Over 120 UI controls" yet the product pages states "over 140".
Obviously "Over 120" is technically correct, however, 140 is more accurate, sounds better & increases consistency across the site.
The same issue also applies to the "UI for WinForms" description and its respective product page.
https://www.telerik.com/download
We use a RadTileList as our main navigation component. Today we noticed that our app's memory consumption only ever increases when opening modules and never decreases when closing them. When tracing memory usage with DotMemory (using the Key retention paths feature), I noticed that the retention path to the leaked module viewmodels seems to be rooted in the RadTileList component (see the attached screen shot).
A few implementation details:
- We are wrapping our modules in a class called "OpenedModule" (as you might guess from the attached image)
- The RadTileList is databound to an ObservableCollection<OpenedModule> via its ItemsSource
- We do not use grouping
- Closing a module results in the module's "OpenedModule" instance being removed from the ObservableCollection
This is the xaml we use to instantiate the TileList:
<telerik:RadTileList x:Name="NavigationRadTileList" ItemsSource="{Binding OpenedModules, Mode=OneWay}" CanUserSelect="False" TilePlaceHolderSide="90" behaviors:DisableTileListRightClickBehavior.IsEnabled="True" ItemTemplate="{StaticResource NavigationTileListTemplate}"> <telerik:RadTileList.Resources> <Style TargetType="{x:Type telerik:Tile}" BasedOn="{StaticResource NavigationTileStyle}" /> </telerik:RadTileList.Resources> </telerik:RadTileList>
Judging by the result from dotMemory, it looks like the TileGroup's children are somehow cached in an ordered list which is not updated when an item is removed?
Best Regards,
Simon Müller
When the FluentPalette.Palette.ScrollBarsMode property is set to Normal, the ScrollViewer scrollbars overlap the content area. This should not happen.
To resolve this, set the ThemeHelper.ScrollBarsMode attached property of the ScrollViewer controls using an implicit style.
<Window.Resources>
<Style TargetType="ScrollViewer">
<Setter Property="helpers:ThemeHelper.ScrollBarsMode" Value="{telerik:FluentResource ResourceKey=ScrollBarsMode}"/>
</Style>
</Window.Resources>