mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-15 17:30:37 -06:00
last fixes & add notes
This commit is contained in:
parent
6175c0889c
commit
c056bbcfe4
@ -9,11 +9,9 @@ function Invoke-WPFUIElements {
|
|||||||
.PARAMETER columncount
|
.PARAMETER columncount
|
||||||
The number of columns to be used in the Grid. If not provided, a default value is used based on the panel.
|
The number of columns to be used in the Grid. If not provided, a default value is used based on the panel.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
$categoryPanelMap = @{
|
|
||||||
"Essential Tweaks" = 0
|
|
||||||
"Customize Preferences" = 1
|
|
||||||
}
|
|
||||||
Invoke-WPFUIElements -configVariable $sync.configs.applications -targetGridName "install" -columncount 5
|
Invoke-WPFUIElements -configVariable $sync.configs.applications -targetGridName "install" -columncount 5
|
||||||
|
.NOTES
|
||||||
|
Future me/contributer: If possible please wrap this into a runspace to make it load all panels at the same time.
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param(
|
param(
|
||||||
|
@ -414,7 +414,8 @@ $sync["SearchBar"].Add_TextChanged({
|
|||||||
$inactiveCategories = $allCategories
|
$inactiveCategories = $allCategories
|
||||||
}
|
}
|
||||||
foreach ($category in $inactiveCategories) {
|
foreach ($category in $inactiveCategories) {
|
||||||
$sync[$category].Visibility = "Collapsed"}
|
$sync[$category].Visibility = "Collapsed"
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
# Initialize the hashtable
|
# Initialize the hashtable
|
||||||
|
Loading…
Reference in New Issue
Block a user