Telerik Forums
UI for WPF Forum
2 answers
153 views

Hello, 

I'm currently working on a visualization layer to display a trace line of a Location Collection. To achieve this, I have set the ItemsSource of the layer to an Observable Collection. Additionally, I am using PolylineData to visualize the Location Collection. However, during implementation, I encountered some errors.

  • The specified value cannot be assigned. The following type was expected: "DependencyObject".
  • Property 'VisualTree' does not support values of type 'PolylineData'.

Here is the portion of the code

<telerik:VisualizationLayer x:Name="visualizationLayer" ItemsSource="{Binding ObjItems}">
                                    <telerik:VisualizationLayer.ItemTemplate>
                                        <DataTemplate>
                                            <telerik:PolylineData Points="{Binding TrackPoints}">
                                        <telerik:PolylineData.ShapeFill>
                                            <telerik:MapShapeFill Stroke="Blue" 
                                      StrokeThickness="2" />
                                        </telerik:PolylineData.ShapeFill>
                                    </telerik:PolylineData>
                                        </DataTemplate>
                                    </telerik:VisualizationLayer.ItemTemplate>
                                </telerik:VisualizationLayer

BNM2024
Top achievements
Rank 1
Iron
 answered on 11 Mar 2024
1 answer
83 views

I've read this thread but it is a bit confusing and old: Live sorting/grouping in UI for WPF | Telerik Forums

What is the current situation?

I am having problems with Devexpress GridControl as they dont support what they call "Live Data Shaping" eg sorting with real-time updates IF you use WPF binding.

Question - can Telerik data grid and/or virtual grid do live data shaping where columns use custom templates with WPF binding to a dictionary. For example: `{Binding Fields[abc].Value}`?

Martin Ivanov
Telerik team
 answered on 11 Mar 2024
0 answers
71 views

On Opening project in Telerik am getting "Error Deserializing Object" and empty project is shown.

Attaching Settings.aiis in zip file.Please let us know how to solve the issue

Sreelakshmi
Top achievements
Rank 1
Iron
Iron
 asked on 07 Mar 2024
0 answers
69 views

Is there a way to change the anchor point of a RadDiagramShape object to something other than the top/left point?  Like in the screen shot below, it is the top/center point.


Burl
Top achievements
Rank 1
 asked on 05 Mar 2024
0 answers
70 views
Hi!. I need to add a functionality to my RadTreeListView so when the clicks a context menu "Add Above" a row would be added above the selected row with empty values. My RadTreeListView is bound to a simple self referencing ViewModel which contains children in ObservableCollection. I could do the job when there is no sorting or filtering is applied to the control with adding an object to the parent's ObservableCollection without any problem. But I need to do so event when the control is sorted and filtered.

Mahdi
Top achievements
Rank 1
 asked on 05 Mar 2024
0 answers
72 views

I would like to create different styles and templates for the RadDocking. My current problem is to that in the RadDocking panes which were places inside the DocumentHost will have header (button for dragging, closing pinning) at top, otherwise (left, right, bottom etc) RadSplitContainer & RadPaneGroup will place buttons at bottom. 

I would to place all of them at top, seems like I would to have same behavior as DocumentHost, but everywhere. Cause when I'm tried modified template of RadPaneGroup, and placed the buttons at first Grid.Row it's breaking behavior of RadPanes when you would to Drag them.

Is it possible to enforce other RadSplitContainers & RadPaneGroups behave like DocumentHost?

 

Kostiantyn
Top achievements
Rank 1
Iron
 asked on 05 Mar 2024
1 answer
97 views

There's probably just a property for this that I am missing.
I have a RadGridView with SelectionUnit="FullRow" but it still draws a box around whatever cell I click on.

I can confirm that it doing the full row selection because it will copy the row text if I press ctrl-C.
The row indicator on the left is also showing correctly.

So how do I tell it to not draw the box around the cell?

(it's not a big issue but some user will probably complain about it)

 

Martin Ivanov
Telerik team
 answered on 05 Mar 2024
1 answer
76 views

Hello!

The RadDiagram has included controls to pan and zoom, but not to rotate one's view of the entire diagram.

I don't mean to rotate just some shapes, but to offer the user an interaction like the "pan", where the view of the complete diagram is rotate around the center.

I tried implementing something like this with a WPF LayoutTransform or RenderTransform, but this always seems to have some ugly side effects.

Is there some easy way to implement something like this?

Thanks in advance.

Martin Ivanov
Telerik team
 answered on 04 Mar 2024
0 answers
92 views

I'm currently working with the RadDocking control in a WPF application and facing a challenge with programmatically docking a floating panel. My goal is to dock a floating RadPane programmatically in a way that exactly replicates the user manually dragging it to dock.

Here's the scenario: When a user manually drags a RadPane to dock it, everything works as expected, including behaviors such as layout restoration (using Telerik's layout save and restore functionality). However, when I attempt to dock the same RadPane programmatically by moving it to a desired RadPaneGroup, the behavior differs. Specifically, after programmatically docking and then performing a layout restore, the previously docked RadPane disappears, which does not happen with manual docking.

rPanel.RemoveFromParent();
rPanGroup.Items.Add(rPanel);

I suspect that the programmatic approach might not replicate some internal state changes that occur with manual dragging and docking, affecting the layout restoration process.

Could anyone provide insights or guidance on how to programmatically dock a RadPane in a manner that fully mimics the manual drag-and-dock process, ensuring consistent behavior with layout restoration? Are there specific methods or properties in the RadDocking control that I should be utilizing to achieve this?

Any suggestions or examples would be greatly appreciated!

Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 03 Mar 2024
2 answers
119 views

Hello. I am trying to figure out what and why my controls are getting their widths blown out to infinity, which has the negative effect of making one of my telerik:RadGridViews not show the complete grid cause it's off the form.

I have tried setting up my project with both Telerik.UI.for.Wpf.10.Xaml and without (for NoXaml) and both show the bad behaviour. What I'm seeing is, as soon as I add a vertical scrollbar around my Grid, then all the containing widths are suddenly blown out to infinity. HUH? Why is that?

I've attached what I'm seeing. I think this is a bug. If it's not, I am not sure what I am doing wrong? I simply started to try playing with styles, and this happens to my ScrollViewer? Doesn't seem right.

 

Stenly
Telerik team
 answered on 01 Mar 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?