Click here to Skip to main content
15,885,985 members

Comments by Irina Pykhova (Top 52 by date)

Irina Pykhova 16-Dec-16 5:36am View    
probably it is async operation. Try to set position using Dispatcher.BeginInvoke()
Irina Pykhova 16-Feb-16 5:44am View    
please, insert correct xaml inside pre block, I tried to edit it to show correctly, but apparently something got lost
Irina Pykhova 9-Nov-15 13:56pm View    
and what is the problem? From your snippets I have only one suggestion, to replace TemplateBinding by simple Binding with RelativeSource TemplatedParent. TemplateBinding might work not for all properties. But I didn't see full code and xaml, and you didn't tell what exactly doesn't work, so it is just a guess
Irina Pykhova 26-Aug-15 7:22am View    
no need at all. I can imagine several ways to find empty place without that. For example, look at this: http://stackoverflow.com/questions/10352555/how-can-i-find-uielements-in-a-rectangle-in-wpf
The idea is to suggest some place for new ellipse (your approach with random points) and check whether it is intersecting with existing ellipses. You can start from checking rectangle bounds, it would be not very accurate for ellipses, but will give you the starting point for further improvements. The number of ellipses should be much smaller than number of pixels in canvas, so it will be more effective.
In my opinion, your code from the first post will work bad on any platform. It is not related to WPF
Irina Pykhova 11-May-15 9:30am View    
looks like a problem in Telerik's implementation. As far as I remember, they have support forums on their site, ask there