Created
September 24, 2015 19:20
-
-
Save TScalzott/467deb1152ed37274dcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load XAML Objects into variables | |
$xaml.SelectNodes("//*[@Name]") | | |
Where-Object { $_.Name -notlike "label_*" } | | |
ForEach-Object { Set-Variable -Name "WPF_$($_.Name)" -Value $Form.FindName($_.Name) } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment