Hi,
I have developer license for Telerik UI for WPF which was purchased this week. But when i try and search for specific controls i do not get the latest builds displayed.
I have attached the screenshot where it shows only version 2020.1.218 even though there is a new release in 2022.
And also why does it show only Trial and not the actual package.
Hello Telerik Team,
I was wondering how one would implement error bars in a ScatterPointSeries that look similar to this: https://demos.telerik.com/kendo-ui/line-charts/error-bars
There is a very similar question that has been asked before (https://www.telerik.com/forums/how-to-plot-error-bar-for-standard-deviation). Unfortunately, it doesn't look like the feature request mentioned there is going to be implemented anytime soon. As a workaround it was suggested to use a RangeBarSeries with a custom PointTemplate, but that will not work for me, since it is a Cathegorical series and I need to plot the data points at any arbitrary xy coordinate, which is my reason to use the ScatterPointSeries.
I was researching further and found someone mentioning a custom renderer but it seems that is only applicable for windows forms.
I also found this site https://docs.telerik.com/devtools/wpf/controls/radchart/how-to/howto-create-scatter-errorbars-and-boxplot-series but it seems to only work for RadChart and not RadCartesianChart.
Any pointers in the right direction would be greatly appreciated.
Best Regards,
Robin
Hi,
It is possible for Popup Filtering to have the same behavior as for winforms and excel, which when typing in the textbox already filtered the list. As per attached image.
Thanks.
Hi,
I have a RadDocking with a Document.host and 2 RadSplitcontainer. Every parts of control has its own Header and they are shown correctly, but with different style as you could see in figure:
I haven't seen any settings in xaml about the style and I would like to use everywhere the left style.
This is the DataTemplate used:
<DataTemplate x:Key="{x:Static r:ResourcesKeys.TabContentSpectral}" DataType="WpfPlot">
<t:ProportionalStackPanel Orientation="Vertical">
<t:RadToolBar t:ProportionalStackPanel.ElementHeight="32">
<t:RadButton Command="{Binding ResetCommand}"
ToolTip="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.ResetMapTooltip}}">
<Image Source="/DeltaOhm.NsModules;component/Images/refresh.png"
Style="{StaticResource ResourceKey=TreeviewImageSize}"/>
</t:RadButton>
<t:RadButton x:Name="ToolbarSetAxisScale"
ToolTip="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.MISetAxisScale}}"
Loaded="ToolbarSetAxisScale_Loaded">
<Image Source="/DeltaOhm.NsModules;component/Images/ToolbarSetAxisScale.png"
Style="{StaticResource ResourceKey=TreeviewImageSize}"/>
</t:RadButton>
<t:RadButton
ToolTip="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.ColorPaletteTooltip}}"
Loaded="RadPathButton_Loaded">
<Image Source="/DeltaOhm.NsModules;component/Images/ToolbarColorPalette.png"
Style="{StaticResource ResourceKey=TreeviewImageSize}"/>
</t:RadButton>
<t:RadButton
x:Name="SonogrammaMinimi"
ToolTip="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.SonogrammaDeiMinimiTooltip}}"
Command="{Binding CalcolaSpettroDeiMinimiCommand}">
<Image Source="/DeltaOhm.NsModules;component/Images/SonogrammaDeiMinimi.png"
Style="{StaticResource ResourceKey=TreeviewImageSize}"/>
</t:RadButton>
</t:RadToolBar>
<t:RadDocking x:Name="DockingSpectral"
RetainPaneSizeMode="DockingAndFloating">
<t:RadDocking.DocumentHost>
<t:RadPaneGroup x:Name="RadPaneGroup1">
<t:RadPane x:Name="PaneSpectralColorMap" t:RadDocking.SerializationTag="PaneSpectralColorMap"
Loaded="PaneSpectralColorMap_Loaded">
<Grid x:Name="Grid1">
<local:SpectralColorMapControl Loaded="SpectralColorMapControl_Loaded" TabIndex="0"
SizeChanged="SpectralColorMapControl_SizeChanged"/>
</Grid>
</t:RadPane>
</t:RadPaneGroup>
</t:RadDocking.DocumentHost>
<t:RadSplitContainer
x:Name="SpectralTimeHistory" InitialPosition="DockedBottom"
MinHeight="180">
<t:RadPaneGroup >
<t:RadPane x:Name="PaneSpectralTimeHistory" t:RadDocking.SerializationTag="PaneSpectralTimeHistory"
Loaded="PaneSpectralTimeHistory_Loaded">
<Grid>
<local:SpectralTimeHistoryControl TabIndex="1"
Loaded="SpectralTimeHistoryControl_Loaded"
Frequency="{Binding FrequencySelected, Mode=TwoWay}"/>
</Grid>
</t:RadPane>
</t:RadPaneGroup>
</t:RadSplitContainer>
<t:RadSplitContainer x:Name="SpectralHistogram" InitialPosition="DockedRight"
MinWidth="225">
<t:RadPaneGroup x:Name="RadPaneGroup2">
<t:RadPane x:Name="PaneSpectralHistogram" t:RadDocking.SerializationTag="PaneSpectralHistogram"
Loaded="PaneSpectralHistogram_Loaded">
<Grid x:Name="Grid2">
<local:SpectralHistogramControl x:Name="SpectralHistogramControl1"
Loaded="SpectralHistogramControl_Loaded"
TimeStamp="{Binding MainVM.TabCursori.CursorV0DT, Mode=TwoWay}"
Intervallo="{Binding MainVM.TabCursori.CursorRange}"/>
</Grid>
</t:RadPane>
</t:RadPaneGroup>
</t:RadSplitContainer>
</t:RadDocking>
</t:ProportionalStackPanel>
</DataTemplate>
And this is the code that binding the header (in code behind because "Plot" is a dynamic value)
private void PaneSpectralColorMap_Loaded(object sender, RoutedEventArgs e)
{
if (sender is RadPane pane)
{
pane.SetBinding(HeaderedContentControl.HeaderProperty, new Binding("Plot.SpectralColorMapVM.Title"));
}
}
private void PaneSpectralTimeHistory_Loaded(object sender, RoutedEventArgs e)
{
if (sender is RadPane pane)
{
pane.SetBinding(HeaderedContentControl.HeaderProperty, new Binding("Plot.SpectralProfileVM.Title"));
}
}
private void PaneSpectralHistogram_Loaded(object sender, RoutedEventArgs e)
{
if (sender is RadPane pane)
{
pane.SetBinding(HeaderedContentControl.HeaderProperty, new Binding("Plot.SpectralHistogramVM.Title"));
}
}
Hi,
When using the Fluent theme on computers with Windows 7, the opacity of Popup Filtering interferes with its visualization, as shown in the attached image. Is it possible to change the global shape of this opacity to avoid this problem?
Thanks
Hello, I have upgraded application to .Net 6.0 ,while I trying to add DLL to toolbar then it gives following error [refer screenshot].
when I run the project it throws exception about Telerik, as
The invocation of the constructor on type 'Telerik.Windows.Controls.RadMenu' that matches the specified binding constraints threw an exception
following inner exception
" TypeInitializationException: The type initializer for 'Telerik.Windows.Controls.TelerikLicense' threw an exception."
and
"MissingMethodException: Method not found: 'System.ActivationContext System.AppDomain.get_ActivationContext()'."
please suggest.
Hi,
I am creating a generic grid solution, based on the Telerik grid with dynamic data source.
This is my ItemsSource:
var data = new ObservableCollection<MyDataRow>(); //DynamicObject
Where MyDataRow is created from 2D array of various objects (MyClass, Strings, etc).
And I would like to choose template based on value (or type of object) which will be presented in the cell, but the only way, that achieved the desired result, was to add TemplateSelector which dynamicly creates a concrete datatemplate for each column/cell.
Simplified version of my Selector:
public class MyTemplateSelector : DataTemplateSelector
{
public override System.Windows.DataTemplate SelectTemplate(object item, System.Windows.DependencyObject container)
{
if(container is GridViewCell gridViewCell && item != null)
{
int columnIndex = gridViewCell.Column.DisplayIndex;
DataTemplate dataTemplate = null;
MyDataRow myDataRow = item as MyDataRow;
if (myDataRow["Column" + columnIndex] is MyClass)
{ // Template example 1
StringReader stringReader = new StringReader(
@"<DataTemplate
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"">
<TextBlock Text=""{Binding Column" + columnIndex + @".ResultText}""/>
</DataTemplate>");
XmlReader xmlReader = XmlReader.Create(stringReader);
dataTemplate = XamlReader.Load(xmlReader) as DataTemplate;
}
else
{ // Template example 2
StringReader stringReader = new StringReader(
@"<DataTemplate
xmlns=""http://schemas.microsoft.com/winfx/2006/xaml/presentation"">
<TextBlock Text=""{Binding Column" + columnIndex + @"}""/>
</DataTemplate>");
XmlReader xmlReader = XmlReader.Create(stringReader);
dataTemplate = XamlReader.Load(xmlReader) as DataTemplate;
}
if (!dataTemplates.ContainsKey(columnIndex))
{
dataTemplates.Add(columnIndex, dataTemplate);
}
return dataTemplates[columnIndex];
}
return null;
}
// Dictionary of already defined templates
Dictionary<int, DataTemplate> dataTemplates = new Dictionary<int, DataTemplate>();
}
So in this case, there can be up to c*x number of slightly different templates:
(c - number of columns, x - number of specific templates)
Is there any more performance wise or clearer way to solve this problem?
Thank you for any help.
I've been working with the yWorks for WPF technology for a few years now and have a chance to compare it to the Telerik WPF Diagramming framework and API sets; in my mind, these are complex and advanced UI frameworks. However, getting started is a long learning curve in many areas of geometry, some trigonometric calculations, systems programming, and some advanced animations work. We are working to create the following technologies using the Diagramming frameworks:
I've been using yWorks - a fantastic technology and product, but expensive; it would be great if there was a better set of samples and tutorials around the dynamic use of the Diagramming APIs set for runtime capabilities. I think I've seen what guidance Telerik has made available to date; are there some additional resources available and what type of "professional services" might be available.
Tavi
How to set the default first node unselected when page is loaded?
Hi,
This used to work:
<telerik:RadTransitionControl
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Margin="10,0,0,0"
Content="{Binding EventContent}">
<telerik:RadTransitionControl.Transition>
<telerikTransitions:RollTransition IsRollOut="True" IsTopToBottom="False" />
</telerik:RadTransitionControl.Transition>
</telerik:RadTransitionControl>
with 2022 update the control no longer shows *anything*
For testing, I hardcoded the Content:
<telerik:RadTransitionControl
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
Margin="10,0,0,0">
<TextBlock Foreground="Aqua" FontSize="44">This is a test</TextBlock>
<telerik:RadTransitionControl.Transition>
<telerikTransitions:RollTransition IsRollOut="True" IsTopToBottom="False" />
</telerik:RadTransitionControl.Transition>
</telerik:RadTransitionControl>
This showed the textbox while in Design mode, but when the app ran, nothing was displayed