I was hoping the RadColorPicker would have built in functionality to support the RadColorEditor which is common in just about all applications from Adobe to MS Paint ... something like the attached image.
Telerik doesn't seem to provide a "one stop shop" for this functionality. My expectation was the RadColorPicker would include the functionaltiy of the RadColorEditor, but it does not.
I can code my own solution using a new RadWindow and adding the RadColorEditor but the reason I bought Telerik is so that I wouldn't have to do this work, part of the rapid application development process.
Am I missing some simple functionality available in the RadColorPicker or is this just how it is?
Cheers, Rob.
I read many threads on this issue and I'm just trying to do simple XAML only binding and not MVVM or code behind, but unfortunately I can't get it to work with RadSlider:
<TextBox Grid.Row="5" Grid.Column="4" Text="{Binding ElementName=slHeightRange,Path=SelectionStart}" HorizontalAlignment="Right" /><telerik:RadSlider x:Name="slHeightRange" Grid.Row="5" Grid.Column="5" Grid.ColumnSpan="1" Minimum="1" Maximum="50" HandlesVisibility="Visible" TickFrequency="5" TickPlacement="BottomRight" IsSelectionRangeEnabled="True"> <telerik:RadSlider.Thumbs> <telerik:RangeSliderThumb RangeStart="5" RangeEnd="19"/> </telerik:RadSlider.Thumbs></telerik:RadSlider><telerik:Label Grid.Row="5" Grid.Column="6" Content="{Binding ElementName=slHeightRange,Path=SelectionEnd}" HorizontalAlignment="Right" />
Any hints?
Cheers, Rob.
FYI
https://docs.telerik.com/devtools/wpf/controls/radimageeditor/getting-started
In example 3 your trying to pass a RadImageEditor control into a sub that uses RadImageEditorUI. If you change to the following it works:
Public Shared Sub LoadSampleImage(ByVal imageEditor As RadImageEditor, ByVal image As String) Using stream As Stream = Application.GetResourceStream(GetResourceUri(SampleImageFolder & image)).Stream imageEditor.Image = New Telerik.Windows.Media.Imaging.RadBitmap(stream) imageEditor.ApplyTemplate() imageEditor.ScaleFactor = 0 End UsingEnd Sub
Hello,
it seems that having a RadPane with a binding for its IsPinned property needs to bound with Mode=TwoWay for it to work. Why is this? The problem comes more apparent when I'm using (in the real application) binding to a ViewModel that gets converted through a (Multi)ValueConverter. If I have to have the binding mode be TwoWay I have to implement the ConvertBack method of IValueConverter and have it return something like null, even though I only want the model converted one way. I absolutely do not want the pinned/unpinned status of the RadPane having any influence on my model.
Also, it seems the ConvertBack is only called once at the start of the program or when the actual pin/unpin icon is pressed. And this is very bad when we have the TextBox binding. If I write a string longer than 5 characters into it, the pane opens. If I then unpin the pane, the TextBox is cleared because the converter returns null!
Below is a repro of the problem, standard WPF .NET 4.7.2 project with only the Telerik nugets added. Clicking the checkbox Pane 1 does nothing. The checkbox Pane 2 pins/unpins Pane 2 because it is bound with Mode=TwoWay. The same can be seen with the textbox. When typing a string more than 5 characters in length, the last pane opens if the binding mode is TwoWay.
My MainWindow.xaml
01.<Window x:Class="TelerikDockingIsPinned.MainWindow"03. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"04. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"05. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"06. xmlns:local="clr-namespace:TelerikDockingIsPinned"07. xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"08. mc:Ignorable="d"09. Title="MainWindow" Height="450" Width="800">10. 11. <Window.Resources>12. <local:TextLengthConverter x:Key="TextLenConverter" />13. </Window.Resources>14. 15. <Grid>16. <Grid.RowDefinitions>17. <RowDefinition Height="Auto"/>18. <RowDefinition Height="*"/>19. </Grid.RowDefinitions>20. 21. <StackPanel Orientation="Horizontal">22. <CheckBox x:Name="Pane1Pinned" Content="Pane 1"/>23. <CheckBox x:Name="Pane2Pinned" Content="Pane 2"/>24. <TextBox x:Name="Pane3Pinned" MinWidth="100"/>25. </StackPanel>26. 27. <telerik:RadDocking Grid.Row="1">28. <telerik:RadSplitContainer>29. <telerik:RadPaneGroup>30. <telerik:RadPane Header="Pane 1" IsPinned="{Binding ElementName=Pane1Pinned, Path=IsChecked}"/>31. <telerik:RadPane Header="Pane 2" IsPinned="{Binding ElementName=Pane2Pinned, Path=IsChecked, Mode=TwoWay}"/>32. <telerik:RadPane Header="Pane 3" IsPinned="{Binding ElementName=Pane3Pinned, Path=Text, Converter={StaticResource TextLenConverter}, Mode=TwoWay}"/>33. </telerik:RadPaneGroup>34. </telerik:RadSplitContainer>35. </telerik:RadDocking>36. </Grid>37.</Window>
and the converter:
01.using System;02.using System.Globalization;03.using System.Windows.Data;04. 05.namespace TelerikDockingIsPinned {06. class TextLengthConverter : IValueConverter {07. public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {08. return (value is string) && ((string)value).Length > 5;09. }10. 11. public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) {12. Console.WriteLine("ConvertBack called");13. 14. return null;15. }16. }17.}Hi all,
Is it possible to display icons for child items of a navigation view in a data-bound hierarchy scenario? I'm following the documentation at https://docs.telerik.com/devtools/wpf/controls/radnavigationview/populating-with-data/hierarchical-databinding but also in this example the icons are missing for child items (even if them are defined in the example data model).
Thanks.

After trying the First Look exemple code, there is something I did not find.
If we want to store the control content to a database or any data storage, we can look at the DataContext.Data to get back all the cards.
State property is well corresponding to the new column for exemple.
But how to know in which orders they are now sorted. There is no "Order" / "Index" / "Position" property we can bind ?
Without this info it is difficult to redraw later the same board in the same state.
Is there a way to get this information
Thanks
Hi,
we are currently tweaking the initial loading performance of a RadDiagram with >1000 Shapes and >5000 Connections. According to the attached DotTrace profiler run, we are spending a good amount of time (~5 seconds) within the function "UpdateFocusedElement" which intuitively seems unnecessary during the initial load of a diagram.
Would you agree that this call is unnecessary during initial load and if so could you suggest a way to temporarily suppress or work around this to improve loading time?
Thanks in advance!
Regards
I'm using RadGlyph with the FontAwesome library and it works great. I register the font in my App.xaml - OnStartup and when I run my application the icons load correctly and look crisp and clear.
The issue is in the Visual Studio designer RadGlyph complains constantly that the 'Font family FontAwsome is not registered'. This breaks parts of the UI designer and add these errors to the Error List make it look a lot worse than it is and makes finding real errors harder.
My question is, how do I register the custom font in away that RadGlyph can detect it in the designer or can I turn off the detection of this error altogether? I don't need to see the icon in the designer I just want to clean up the error messages.
Thanks,
Richard
Hello everyone.
I have shell WinForms application that hosts WPF User Control contains RadDocking. When I drag RadPane, a RootCompass indicators of RadDocking shows in wrong location (see attachment). It looks like indicators shows without offset of embedded WPF Control relatively shell WinForms application.
Is it bug? Or maybe is there a way to change a location of RootCompass indicators?
Thank you.