Telerik Forums
UI for WinUI Forum
0 answers
5 views

Hi All

Was hoping if anybody can give their input on a problem I'm having.

I have some sort of VMS in Maui made using libVLC
But I have ran into issues increasing stream count.
Up to 24 streams no issues, but as soon as the 25th stream hits my CPU load spikes like crazy.
I go from like 15% CPU load to 70%. 
I have done something similar in WPF which went fine on even 66 streams. I know WPF is not the same but libvlc isn't the issue. 

Small sidenote a made a test in WinUI3 40 streams loaded fine with only 15% CPU load. 

Does anybody know how valid the below is?

Each MAUI VideoView creates its own SwapChainPanel = its own DXGI swap chain. 28 streams = 28 swap chains feeding
the WinUI DirectComposition compositor, which chokes past ~25. WPF doesn't have this problem because it uses a
single shared D3DImage surface — one compositor target for all streams.

Switch LibVLC from the built-in VideoView (one SwapChainPanel each) to callback rendering (SetVideoFormat +
SetVideoCallbacks), then composite all streams into 1–4 shared SwapChainPanels as tiles. Same RTSP URLs, same HW
decode, same FPS/resolution. Just one compositor target instead of 30.

 

Thanks

Yves
Top achievements
Rank 1
 updated question on 17 Apr 2026
1 answer
239 views

For the current project I need a datagrid with smaller rows, which fit precisely around the template. I can do this with the RowHeight property. However, I also have some cells with multiline text, where the rows need to be larger. I can do this by setting the RowHeight to NaN, but this also means the rowheight otherwise uses the default value of 48, while I need it to default to 20. Is there any good way to do this? I already tried setting TelerikGrid_RowHeight to 20 in the local resource dictionary (merged into the app resource dictionary), but this doesn't seem to fix it.

The template columns contain the following template: 

$$"""<DataTemplate xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextBlock  Text="{Binding [{{dataColumn}}]}"
            Margin="4,0"
            VerticalAlignment="Center"/>
</DataTemplate>"""
I'm using this template here because each row is an object[], so I can't provide property names and need to provide a binding instead.
Martin Ivanov
Telerik team
 answered on 03 Nov 2025
0 answers
118 views

Hello!
When a cell’s text is too long, the column keeps auto-expanding without any limit, which hides content on the right and causes a horizontal scrollbar to appear. How can I clip the overflowing content and rely on the column resizer when needed (or enable text wrapping) so that all columns always fit within the visible grid width? I don’t want to set fixed sizes for all columns because I need to support window resizing/zooming.

Also, I can’t get a small initial column width to apply. If I set a column’s width to 50, it doesn’t take effect immediately—it only applies after I manually drag the column.

Tran
Top achievements
Rank 1
 asked on 28 Sep 2025
1 answer
191 views

Hello,

I have a RadDatagrid with more columns and I would like to use sorting functionality by clicking on column headers as it is implemented. Is it possible for some text columns to define own comparer. I need to compare strings "naturally" like: "Ring 1", "Ring 2", Ring 10", "Ring 11",...

Thank you,

 

Pavel

Martin Ivanov
Telerik team
 answered on 12 Dec 2024
1 answer
418 views
I was wondering if there was a way to retrieve RadDataGrid filtered information, such as the column header or mapping name and what was selected in the DistinctValuesFilterDescriptor? I'm trying to create separate controls above the RadDataGrid that will show applied filters and a clear filters button.

Any help would be appreciated!
Stenly
Telerik team
 updated answer on 20 Nov 2024
1 answer
213 views

Hey,

i'm prototyping a WinUI3 App and have a Page with a Grid.
I'm using the RadDataGrid. Now I want to make the columns resizable by the users but the only easy way I found was via the "ResizeHandle" that appears with the setting ColumnResizeHandleDisplayMode="Always".

Is it not possible to just click between Column Headers and resize the columns? Is there a simple solution I'm missing or do I actually have to fiddle around with control templates?

Kind regards,
Christoph

Martin Ivanov
Telerik team
 answered on 30 Oct 2024
1 answer
220 views

Is it possible to introduce scrollability to the RadDataGrid?

 

Are WinUI3 Components meant to be responsive to the window dimensions?

Martin Ivanov
Telerik team
 answered on 04 Sep 2024
1 answer
500 views

I'm evaluating Telerik's UI for WinUI and simply don't have the knowledge nor the time to learn the DataGrid thoroughly.  I have to make a decision between Telerik and a competitor very soon.

The question is about filtering.  I like the filtering in the Telerik grid, with the funnel icon.  However, my client is familiar with a different experience, and prefers it.  Specifically, the client would like a line either between the column headers and the data where the user could simply type and the grid would automatically filter using a "contains" (simple concept, but not so easy for me to describe).  Is that something that could be done with Telerik's grid?  Can it be done with configuration, or would it require custom coding?  Ideally I'd love to see an example (GitHub)?

Thanks in advance.

Martin Ivanov
Telerik team
 answered on 20 Aug 2024
1 answer
155 views

Hello,

I tried to insert a DropDown button into another one and the inner button is not possible to expand:

            <telerikControls:RadDropDownButton Content="Drop down 1"  
                                   DropDownWidth="180">
                <telerikControls:RadDropDownButton.DropDownContent>
                    <StackPanel Orientation="Vertical">
                        <telerikControls:RadDropDownButton Content="Drop down 2"  
                                   DropDownWidth="180">
                            <telerikControls:RadDropDownButton.DropDownContent>
                                <ListBox>
                                    <ListBoxItem Content="Item 4" />
                                    <ListBoxItem Content="Item 5" />
                                    <ListBoxItem Content="Item 6" />
                                </ListBox>
                            </telerikControls:RadDropDownButton.DropDownContent>
                        </telerikControls:RadDropDownButton>
                        <ListBox>
                            <ListBoxItem Content="Item 1" />
                            <ListBoxItem Content="Item 2" />
                            <ListBoxItem Content="Item 3" />
                        </ListBox>
                    </StackPanel>
                </telerikControls:RadDropDownButton.DropDownContent>
            </telerikControls:RadDropDownButton>

Is it possible to make it work?

Stenly
Telerik team
 answered on 29 Jul 2024
0 answers
156 views

I have the datagrid UserEditMode set to "External", and somehow it keeps showing the inline edit mode/box. This happens as soon as I programmatically adda new item to the collection. Is there a way to stop this from happening? I'm looking for a way to hide that blue box and to just programmatically save the changes in the item as soon as any of the cells loses focus:

<telerikGrid:RadDataGrid ItemsSource="{x:Bind ViewModel.Parameters, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" AutoGenerateColumns="False" UserEditMode="External" CanUserChooseColumns="False" UserFilterMode="Disabled" UserGroupMode="Disabled" UserSortMode="None">
    <telerikGrid:RadDataGrid.Columns>
        <telerikGrid:DataGridTextColumn PropertyName="Key" Header="Parameter"/>
        <telerikGrid:DataGridTextColumn PropertyName="Value" Header="Value"/>
        <telerikGrid:DataGridTextColumn PropertyName="Description" Header="Description"/>
    </telerikGrid:RadDataGrid.Columns>
</telerikGrid:RadDataGrid>


using System.Collections.ObjectModel;
using System.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;

namespace App1.ViewModels;

public partial class MainViewModel : ObservableObject
{
    [ObservableProperty]
    public string? name;

    [ObservableProperty]
    public ObservableCollection<ParameterViewModel> parameters;

    public MainViewModel()
    {
        Parameters = new ObservableCollection<ParameterViewModel>();
        this.AddNewParameter();
    }    

    private void Parameter_PropertyChanged(object? sender, PropertyChangedEventArgs e)
    {
        var item = sender as ParameterViewModel;
        if (item is not null)
        {
            var index = Parameters.IndexOf(item);
            if (index == Parameters.Count - 1)
                AddNewParameter();
        }
    }

    public void AddNewParameter()
    {
        var Parameter = new ParameterViewModel() { Key = "", Value = "", Description = "" };
        Parameter.PropertyChanged += Parameter_PropertyChanged;
        Parameters.Add(Parameter);
    }
}
public partial class ParameterViewModel : ObservableRecipient
{
    [ObservableProperty]
    public string? key;
    [ObservableProperty]
    public string? value;
    [ObservableProperty]
    public string? description;
}

Carlos
Top achievements
Rank 1
 asked on 12 Jul 2024
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?