Telerik Forums
UI for WPF Forum
1 answer
72 views

As in the title it doesnt work so the movement on the document isnt great.

 

Thanks for the help

Dominik

Dimitar
Telerik team
 answered on 12 Mar 2024
0 answers
65 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 the following 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 code portion 

                                <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
 asked on 11 Mar 2024
2 answers
133 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
75 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
63 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
62 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
66 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
65 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
87 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
71 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?