Telerik Forums
UI for WPF Forum
4 answers
109 views

This may be more of a WPF question. I updated our app to support multiple maps on the screen. I want each map to share the items used for the VisualizationLayer. This seems to work for custom items, but not for MapShapeData items. I tried using a different collection for each map to hold the items, but it didn't help. Details:

Add PolygonData objects. They show up fine but when zooming, they don't scale. If I change to use two maps, everything works perfectly. If I switch back to one map, the objects again stop scaling when zooming.

If I replace the PolygonData with a custom object that holds a LocationCollection and apply a MapPolygonView to the object, everything works perfectly, even with just one map.

What is it about PolygonData that causes this not to work?

Using PolygonData with a VirtualizationSource also works.

Vladimir Stoyanov
Telerik team
 answered on 25 Jan 2019
5 answers
299 views

Hello!

In our app we are using dynamicly generated shapes on theRadMap via map shapes. 

All shapes areimplimented as Datatemplates on map Information layers. And it all works ok, until we come to MapEllipse. 

An attempt tp bind MapEllipse location to the Location property of the model, Exception is thrown, beacuse Locatuion is mot a Dependency Property.

Is there any way to solve the prolem, excep implemening new calss, based on MapEllipse with custom DependencyProperty? 

 

Thank you

Vladimir Stoyanov
Telerik team
 answered on 25 Jan 2019
1 answer
174 views

Hi

I have a pie/doughnut chart as shown on the attached image.

How do I position the labels inside the doughnut?

Flemming

Martin Ivanov
Telerik team
 answered on 25 Jan 2019
4 answers
453 views

Hello!

I am trying to display a PDF file in the RadPdfViewer that is shown as having a white background in other PDF Viewer programs (SumatraPDF, Adobe Acrobat Reader, ...), but in the RadPdfViewer it shows a red background. Is this a bug or is my file broken somehow? Or am I missing a setting that changes this behavior?

Cheers

Nico
Top achievements
Rank 1
 answered on 24 Jan 2019
1 answer
204 views

Hi

I want to implement the item zoom in and out in the listbox.Similar to the zoom of the Diagram.

Dinko | Tech Support Engineer
Telerik team
 answered on 24 Jan 2019
3 answers
216 views

I have a custom class that I'm adding to a VisualizationLayer. I'm using the following template to display it:

<DataTemplate x:Key="PolygonTemplate">
    <telerik:MapPolygonView Points="{Binding Points}" ShapeFill="{Binding ShapeFill}" />
</DataTemplate>

 

Works great. But I don't know how to get the ZIndex working. I tried adding my own ZIndex (that calls PropertyChanged), inheriting from ExtendedDataProvider, putting Canvas.ZIndex in the template but the z-order of the item never changes. If I use a normal PolygonData with the default template, the z-order updates.

Martin Ivanov
Telerik team
 answered on 24 Jan 2019
5 answers
71 views

Hello,

when I selected the RadPane on the right,the pinbutton has missed.When I selected another control ,the pinbutton display.

How to change the pinbutton to solve the problem?

Regards,

Guo

guo
Top achievements
Rank 1
 answered on 24 Jan 2019
3 answers
227 views

In the recent project, I want to control the scrollViewer on the diagram and set the offset of the scrollViewer. I looked at the API and found that the offset property is not public. What should I do?

Any help would be appreciated.


Dinko | Tech Support Engineer
Telerik team
 answered on 23 Jan 2019
3 answers
129 views

Hi,

I noticed that some commands get executed/ changes saved when selecting a different tool.

For instance:

1. Seleting the tool to insert text
2. Selecting forms

The text is placed inside the image. This is pretty annoying if the user accidently clicked on it. Is there a way to persist this changes only when a user has clicked a custom button?

 

Best regards

Vladimir Stoyanov
Telerik team
 answered on 22 Jan 2019
3 answers
588 views

Hello,

We have a RadGridView that has 150,000 rows (and so is using the default UI virtualization) as well as default column filters available on each column. When we check one of the "distinct values" checkboxes on the Name column, the resulting grid displays only entries for the selected name as expected -- however, it doesn't display all the results that were in the 150,000 rows. It's hard to tell how it is deciding where to cut off the results, but since each row has a time stamp we can see that it takes the top rows up until a certain point and then stops. So for one case, 69 rows were displayed when there were 624 rows in total for that selected name.

I've searched around quite a bit but couldn't find this exact scenario addressed -- do you have ideas/suggestions for this problem?

Thanks,

Chris

Martin Ivanov
Telerik team
 answered on 22 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?