Telerik Forums
UI for WPF Forum
1 answer
78 views

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.

Martin Ivanov
Telerik team
 answered on 25 Dec 2023
1 answer
131 views

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
Now replace this Window with Telerik.Windows.Controls.Docking.ToolWindow.cs (v 2022.3.1005.60) and assume we double click the title bar of a ToolWindow and make it maximized. My question is: Are these events raised always in this particular order; that is first maximized and then mouse up in ToolWindow? Can you guarantee this order with all conditions? (Heavy UI load, multiple threads etc.) Guaranteeing this order is crucial for me since I depend on this order for my control in the ToolWindow.
Martin Ivanov
Telerik team
 answered on 25 Dec 2023
0 answers
80 views

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

Fabrice
Top achievements
Rank 2
Iron
Iron
 asked on 22 Dec 2023
0 answers
49 views

Hi all,
If I try to search over as a string field, I have an issue because it's handled like an integer and ends in StackOverFlowException.
Do you have any idea?
I appreciate any help you can provide.


Dev2WPF
Top achievements
Rank 1
 asked on 20 Dec 2023
0 answers
92 views

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>

Thanks.
Evangelista
Top achievements
Rank 1
Iron
 asked on 20 Dec 2023
0 answers
107 views

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>

 

Paul
Top achievements
Rank 2
Iron
Iron
Iron
 asked on 20 Dec 2023
2 answers
83 views

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?

Stijn
Top achievements
Rank 1
Iron
 answered on 19 Dec 2023
1 answer
81 views

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

Stenly
Telerik team
 answered on 18 Dec 2023
1 answer
89 views

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.

Dimitar
Telerik team
 answered on 15 Dec 2023
1 answer
71 views

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?

Martin Ivanov
Telerik team
 answered on 14 Dec 2023
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?