Hi,my app has Infragistics WPF XamTextEditor controls. When I resize my app window (make it smaller), the controls lose the key board cursor in them. You can't tab into them, neither can you click into them. Even though, you can type into them and they are enabled.It happens to random controls and without any apprent error!Please help!!!My app is using WPF MVVM architecture.Anshuman
Hello Anshuman,
Thank you for your post. I have been looking into it and I created a sample project for you following your scenario and everything seems to work ok on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.
Looking forward for your reply.
Hi Stefan,Thanks for your reply. I saw your project. I'm intriuged by one aspect. Ur text box does not lose the font size. Mine does. As I make my app smaller, the text box reduces in size as well as the text size reduces. I'm using the ViewBox Style="Fill" feature.Any take on that?Cheers,Anshuman
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
If you could send me an isolated sample project, where the issue occurs, I will be able to investigate this further for you and think of a possible solution for you.
Hi Stefan,Its kind of inconsistent. Keep trying different widths and heights and it comes and goes almost as if at will. I'm really lost.I have a big app which needed the elastic flexibility feature and this one defect is ruining the whole thing!Cheers,Anshuman
I have modified the sample following your scenario and i still wasn't abel to reprodcude your behavior. I attached a video of the result I have.
Hi Stefan,Try the following xaml for your MainWindow and you would know what I mean. When you reduce the size of the window, eventually there comes a time when you lose the caret!!!Cheers,Anshuman
<Window x:Class="WpfApplication2.MainWindow"xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"Title="MainWindow" Height="auto" Width="auto" xmlns:igWPF="http://infragistics.com/Editors" >
<Viewbox Stretch="Fill" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"><Grid><igWPF:XamTextEditor Name="xamTextEditor1" VerticalAlignment="Center" Width="500" Height="50"/></Grid></Viewbox>
</Window>