Optimize UI Load performance

This commit is contained in:
Marterich
2025-03-19 23:39:19 +01:00
parent d215d0fc2c
commit fa51f4b918
7 changed files with 172 additions and 129 deletions

View File

@ -10,9 +10,13 @@ function Invoke-WPFUIApps {
switch ($TargetGridName) {
"appspanel" {
$dockPanel = Initialize-InstallAppsMainElement -TargetGridName $TargetGridName
log_time_taken "Setup DockPanel for Apps"
$null = Initialize-InstallHeader -TargetElement $dockPanel
log_time_taken "Setup Header for Apps"
$sync.ItemsControl = Initialize-InstallAppArea -TargetElement $dockPanel
log_time_taken "Setup ItemsControl for Apps"
Initialize-InstallCategoryAppList -TargetElement $sync.ItemsControl -Apps $Apps
log_time_taken "UI Initialized"
}
default {
Write-Output "$TargetGridName not yet implemented"