Posted 15 years ago
by Radu
Hi
We noticed the typing performance in our app is very low... and the CPU load gets very high. That's not the case in a standard WPF app.
Using a very simple test app that has ONLY a Ribbon we could reproduce the behavior:Start typing quite fast something in the TextBox and in the meanwhile watch CPU load...
Having a Ribbon with a lot of buttons inside makes also the caret in the TextBox to be displayed a bit delayed compared with the current typing position.
Any advice?
Thx
Radu
[Modified at 05/25/2010 05:17 AM]
We noticed the typing performance in our app is very low... and the CPU load gets very high. That's not the case in a standard WPF app.
Using a very simple test app that has ONLY a Ribbon we could reproduce the behavior:
<ribbon:RibbonWindow x:Class="WpfApplication1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
Title="MainWindow" Height="350" Width="525">
<DockPanel>
<ribbon:Ribbon DockPanel.Dock="Top"
IsCustomizeQuickAccessToolBarMenuItemVisible="True"
IsMinimized="False"
IsQuickAccessToolBarCustomizationEnabled="True">
<ribbon:Tab Label="A">
<ribbon:Group Label="Edit">
<TextBox Width="500"/>
</ribbon:Group>
</ribbon:Tab>
<ribbon:Tab Label="B"/>
<ribbon:Tab Label="C"/>
</ribbon:Ribbon>
</DockPanel>
</ribbon:RibbonWindow>
Having a Ribbon with a lot of buttons inside makes also the caret in the TextBox to be displayed a bit delayed compared with the current typing position.
Any advice?
Thx
Radu
[Modified at 05/25/2010 05:17 AM]