I am currently using a RadCartesianChart and ChartSeriesProvider to display multiple ScatterPointSeries. These series will have 10's of thousands of points in them. The only rendering option that has worked well for this is BitmapRenderOptions. However, when using BitmapRenderOptions I can't get tooltips to show and I can't select any points.
Is this a know limitation of the BitmapRenderOptions or is there a way to get it to work? I'm basically using the Large Data demo but trying to add a selection and tooltip behavior.
Selection and tooltip work fine if I use the default XamlRenderOptions, but the performance is too bad to use.
To simplify things, consider the following MainWindow class inheriting fromSystem.Windows.Window:
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
namespace WpfApp1
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
StateChanged += MainWindow_StateChanged;
MouseUp += MainWindow_MouseUp;
}
private void MainWindow_StateChanged(object sender, EventArgs e)
{
if (WindowState == WindowState.Maximized)
{
Debug.WriteLine("Window Maximized");
}
}
private void MainWindow_MouseUp(object sender, MouseButtonEventArgs e)
{
Debug.WriteLine("Window MouseUp");
}
}
}
When this window is in normal state if I double click its title bar then it is maximized and a Window.MouseUp event is raised, which results in the following output in VS Output pane:
Window Maximized Window MouseUp
Hi,
I’m trying to handle the drag and drop operation from a winforms control (RadGridView for now, can be RadTreeView or RadListView too) to the RadScheduleView WPF.
I have overridden the ConvertDraggedData from ScheduleViewDragDropBehavior class.
The event isn’t firing when I’m dragging a row from my winforms GridView over the schedule.
Is there a way to convert dragged data from the grid in winforms that make the event fires in WPF?
Or another way to achieve the expected behavior ?
Thanks.
Rémi
Hi,
Testing a gridview custom control with .NET 6 does not render on screen.
The same example with .net framework works.
public class CustomGrid : RadGridView
{
static CustomGrid()
{
DefaultStyleKeyProperty.OverrideMetadata(typeof(CustomGrid), new FrameworkPropertyMetadata(typeof(CustomGrid)));
}
protected override void OnInitialized(EventArgs e)
{
base.OnInitialized(e);
}
}
<Grid>
<my:CustomGrid Grid.Row="0"
x:Name="clubsGrid"
AutoGenerateColumns="False"
GroupRenderMode="Flat"
Margin="5">
<my:CustomGrid.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Established}" Header="Est." DataFormatString="{}{0:yyyy}"/>
<telerik:GridViewDataColumn DataMemberBinding="{Binding StadiumCapacity}" Header="Stadium" DataFormatString="{}{0:N0}"/>
</my:CustomGrid.Columns>
</my:CustomGrid>
</Grid>
Is the a way to select a style by key from styles in app.xaml in the telerik:RadGridView.Resources section
e.g.
<telerik:RadGridView.Resources>
<!-- add xaml to select key GridViewCellType1 -->
</telerik:RadGridView.Resources>
<!-- style in app.xaml -->
<Style x:Key="GridViewCellType1"
TargetType="telerik:GridViewCell">
<Setter Property="FontSize"
Value="14" />
<Setter Property="FontWeight"
Value="Normal" />
<Setter Property="CurrentBorderBrush"
Value="Transparent" />
<Setter Property="BorderBrush"
Value="Transparent" />
</Style>
The screenshot shows the application with the 2023.3.1009 build and on the right with the new 2023.3.1114 build.
As you can see on the bottom of the radpane the is now a blue strip in front of the control.
What do i need o check or change to get rid of that again and have the same result as before?
When using the RadGridView WPF component in conjunction with RadDataPager, how can I obtain the total number of grid elements ?
The MyRadGridView.Items method returns only the number of elements on the current page !
Thanks for your help
I have a RadBusyIndicator and inside it I have several other controls; the structure is bit complex and there are several DB operations are performed in that and while performing that DB operations we are setting IsBusy property of RadBusyIndicator as per progress to true and false. But after invoking this property keyboard focus is shifted to the main window which is not the correct behavior.
I want my focus on the current control from where I am calling some commands, and it is doing some DB operations.
I have gone through the below solution, but it is not much helpful in my case because the structure of my code is bit complex and I don't want BusyIndication invoked every five seconds as mentioned in this link - "how to restore the focus"
Any help regarding this is much appreciated.
We are using the RadCartesianChart component to plot datasets that contain digitized signals from a communications channel. The signals are periodic in nature, and we divide the stream into a series of single period datasets. We will then plot all the datasets on the same RadCartesianChart using a common time reference. The result will be a large number of datasets overlaid on the same Cartesian surface.
So far so good.
Now we want the visual image to use color to show density of the overlaid plots similar to a communications eye diagram as shown below. In that diagram there are 8 million overlaid signals, and the colors encode a density scale allowing visualization of the distribution of discrepancies in the overlaid signals. Is this possible using the RadCartesianChart component? If not directly supported are there mechanisms to customize the plotting to achieve something like this?