私のwpfアプリにはこのGridView定義があり、ComponentArtも使用しています
<my1:GridView Name="gridView1" Theme="ArcticWhite" Indent="40" RowClicked="gridView1_RowClicked_1" AllowColumnFreezing="False" AllowRowFreezing="False" ColumnResizingMode="Normal" AllowColumnReordering="False" AutoGenerateColumns="False" IsHitTestVisible="True" ThemeVariant="Standard" Foreground="#FFDBDBCD">
<my1:GridView.Columns>
<my1:GridViewTemplateColumn Binding="{Binding}" Header="Local">
<my1:GridViewTemplateColumn.CellTemplate>
<DataTemplate>
<Grid Margin="-7,-3,-2,-3" Name="grid1">
<Grid.Background>
<MultiBinding Converter="{StaticResource BackgroundBrushConverter}">
<Binding ElementName="r1" Path="Fill"></Binding>
<Binding ElementName="cbColores" Path="IsChecked"></Binding>
</MultiBinding>
</Grid.Background>
<Rectangle Name="r1" Fill="{Binding Converter={StaticResource BrushConverter}}" Width="1" Height="1"></Rectangle>
<TextBlock Margin="3" Foreground="Black" Text="{Binding Local}" FontFamily="Calibri" FontWeight="Bold" FontSize="13">
<TextBlock.Effect>
<DropShadowEffect Color="White" BlurRadius="3" ShadowDepth="0" Opacity="5" />
</TextBlock.Effect>
</TextBlock>
</Grid>
</DataTemplate>
</my1:GridViewTemplateColumn.CellTemplate>
</my1:GridViewTemplateColumn>
<my1:GridViewTemplateColumn Binding="{Binding}" Header="Linea">
<my1:GridViewTemplateColumn.CellTemplate>
<DataTemplate>
<Grid Margin="-7,-3,-2,-3" Name="grid2">
<Grid.Background>
<MultiBinding Converter="{StaticResource BackgroundBrushConverter}">
<Binding ElementName="r2" Path="Fill"></Binding>
<Binding ElementName="cbColores" Path="IsChecked"></Binding>
</MultiBinding>
</Grid.Background>
<Rectangle Name="r2" Fill="{Binding Converter={StaticResource BrushConverter}}" Width="1" Height="1"></Rectangle>
<TextBlock Margin="3" Foreground="Black" Text="{Binding Linea}" FontFamily="Calibri" FontWeight="Bold" FontSize="13">
<TextBlock.Effect>
<DropShadowEffect Color="White" BlurRadius="3" ShadowDepth="0" Opacity="5" />
</TextBlock.Effect>
</TextBlock>
</Grid>
</DataTemplate>
</my1:GridViewTemplateColumn.CellTemplate>
</my1:GridViewTemplateColumn>
</my1:GridView.Columns>
</my1:GridView>
アプリケーションを開くと、何もしなくても CPU が 50 ~ 60% に増加します。アプリを閉じるまでその速度を維持します
パフォーマンスを向上させるためにできることはありますか?
前もって感謝します