mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-03 11:33:31 -05:00
Update 'Set-WinUtilUITheme' Documentation
This commit is contained in:
@ -13,7 +13,14 @@ function Set-WinUtilUITheme {
|
|||||||
The name of the default theme to use when setting the XAML. Defaults to '_default'
|
The name of the default theme to use when setting the XAML. Defaults to '_default'
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
Set-WinUtilUITheme -inputXAML $inputXAML
|
$returnVal = Set-WinUtilUITheme -inputXAML $inputXAML
|
||||||
|
if ($returnVal[0] -eq "") {
|
||||||
|
Write-Host "Failed to process inputXML"
|
||||||
|
} else {
|
||||||
|
$inputXML = $returnVal[0]
|
||||||
|
}
|
||||||
|
# to know which theme this function has used, access the second item in returned value.
|
||||||
|
Write-Host "Theme used in processing: $($returnVal[1])"
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param (
|
param (
|
||||||
|
Reference in New Issue
Block a user