Telerik Forums
UI for WPF Forum
1 answer
90 views

I want to use a RadTreeListView but the hierarchy does not contain children of the same type. Can I achieve this using RadTreeListView and have different properties at each hierarchy level?

Thank you!

Stenly
Telerik team
 answered on 08 Feb 2024
1 answer
88 views

Hello,

 

I found row-height setting API in WinForms, like Resizing Rows Programmatically- RadVirtualGrid - Telerik UI for WinForms .

But can't find it for WPF. I can make rows resizable by a user but can't do it programatically.

What I'd like to do is to control row height per cell content height.

 

Thanks.

Hanjo

Dimitar
Telerik team
 answered on 08 Feb 2024
14 answers
299 views
Hi, 

I have a grid that is shown in two different windows...(different windows same grid)
In one of the windows the grid is enabled and the user can edit the grid, but in the other window the grid is disabled.
My problem is that the grid scrollbar is disabled in the window where the grid is disabled...

I read the thread (hence the title on this post) on the forum about someone with a similar issue, but the solution for 
that case, a style targeting the GridViewRow, will not help me I'm afraid.

Is there another way to disable the grid but not the scroll?

Please advice!
Arseni
Top achievements
Rank 1
Iron
 answered on 08 Feb 2024
0 answers
124 views

Hello, 

I am using a RadTreeView component in a WPF application that looks like in the following photo. The hierarchy is: a Category can contain a list of SubCategories and a SubCategory contains a List of Activities that have some properties. I would like to transform my RadTreeView into a RadTreeListView or RadGridVew in order to beneficiate from SelectionUnit property and the navigation between cells from the keyboard but I could not find anything that meets by needs:

a component with cells only on the last level of the hierarchy, to be able to select a cell and edit it  and, if possible, to have a tabular header with details from the last level of the hirarchy.

 

Thank you!

Andreea
Top achievements
Rank 1
Iron
 updated question on 08 Feb 2024
0 answers
122 views

Hi,

I am working with RadGridView of Telerik

Source of the RadGridView is QueryableCollectionView (with OData)

Each column has filter option.

but the filter popup advance contains only "Select All" and not all the values of the column.

What should I do for see all the values in the filter advance?

Thanks

Adiel
Top achievements
Rank 1
 asked on 06 Feb 2024
0 answers
64 views

In my code I have a implemented method which in some cases can append new text for existing archive entry. But when I tried this code it gives me a System.ArgumentException: 'An item with the same key has already been added. Key: dir/file.csv'. This exception occurs in situations when given entryName will be something like this 'dir//file.csv''.  This small difference does not allow archive.GetEntry(entryName) return something else then null.

public void Insert(Stream stream, string entryName, bool append = false)
{
    using var baseStream = FileSystem.FileStream.New(ArchivePath, FileMode.Open, FileAccess.ReadWrite);
    using var archive = new ZipArchive(baseStream, ZipArchiveMode.Update, false, null, compressionSettings, encryptionSettings);

    var entry = archive.GetEntry(entryName); // null
    var entryStream = append
        ? entry?.Open() ?? archive.CreateEntry(entryName).Open() //exception cause already exists
        : archive.CreateEntry(entryName).Open(); 
    stream.Position = 0;
    if (append) entryStream.Seek(0, SeekOrigin.End);
    stream.CopyTo(entryStream);
    entryStream.Flush();
}

 

 

Kostiantyn
Top achievements
Rank 1
Iron
 asked on 06 Feb 2024
0 answers
84 views
I have a RadPane within my application that users can detach to create a floating window through a drag action. I am seeking a method to programmatically re-dock this floating RadPane to its original position within the application's main window, without resorting to dragging it manually. I aim to achieve this re-docking process entirely through code. Furthermore, I prefer a solution that does not involve restoring the layout from a stream, as commonly suggested. Is there a direct approach or function provided by the Telerik UI for WPF library that facilitates this? My objective is to manage the docking state of RadPane programmatically.
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 05 Feb 2024
1 answer
1.1K+ views

I am learning game programming  in C# with WPF using MSVS-2022.

 For this MSVS-2022 offers two types of project:

WPF Application
A project creating a .NET WPF Application
and
WPF App (.NET Framework)
Windows Presentation Foundation client application

 

I googles these and still cannot figure out what is the difference - they both are for WPF application,

Which one is more suitable for game programming?

And will the code written using WPF Application  - could it be copied to a WPF App (.NET Framework) and run without corrections?

Dimitar
Telerik team
 answered on 05 Feb 2024
2 answers
110 views

Hello everyone,

 

on my WPF application I have to use a WizardPages component to make a configuration. These configuration (and the relative pages) may changes based on a combobox item selectable on the first WizardPage (a page in common for all configurations).

My question is.... It's possible to add WizardPages dynamically based on the selection on the combobox of first page?

 

Thank you

 

 

 

 

Marco
Top achievements
Rank 1
Iron
 answered on 02 Feb 2024
1 answer
70 views

Hi, we have implemented the ExportToXlsx method and it worked really well out the box.. however we are utilising the paging method (also the group before paging too) and would like the export to give us all the data returned - this is present in the dataset, so no additional call is needed to get more pages.

Any assistance would be great.

 

Matthew

Martin Ivanov
Telerik team
 answered on 01 Feb 2024
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?