Werbung

Herkunft

Kurzinformation

Creates a new System.Windows.Data.Binding

Syntax

<# .Description Creates a new System.Windows.Data.Binding .Synopsis Creates a new System.Windows.Data.Binding .Example New-Binding .Example New-Binding -OutputXaml .Parameter OutputXaml If Set, will output the object as XAML instead of creating it #> param( ${Path}, ${RelativeSource}, ${Converter}, [System.Windows.Data.BindingMode] ${Mode}, [System.String] ${ElementName}, ${ConverterParameter}, ${ValidationRules}, [Switch] ${ValidatesOnExceptions}, [Switch] ${ValidatesOnDataErrors}, [System.String] ${XPath}, [System.Windows.Data.UpdateSourceTrigger] ${UpdateSourceTrigger}, [Switch] ${NotifyOnSourceUpdated}, [Switch] ${NotifyOnTargetUpdated}, [Switch] ${NotifyOnValidationError}, ${ConverterCulture}, ${Source}, [Switch] ${IsAsync}, ${AsyncState}, [Switch] ${BindsDirectlyToSource}, ${UpdateSourceExceptionFilter}, ${FallbackValue}, [System.String] ${StringFormat}, ${TargetNullValue}, [System.String] ${BindingGroupName}, [Switch] ${OutputXaml} ) begin { } process { try { $Object = New-Object System.Windows.Data.Binding } catch { throw $_ return } Set-Property -property $psBoundParameters -inputObject $Object if ($outputXaml) { $strWrite = New-Object IO.StringWriter ([xml]([Windows.Markup.XamlWriter]::Save($Object))).Save($strWrite) return "$strWrite" } $Object } end { }

Beschreibung

Creates a new System.Windows.Data.Binding

Links

Liste aller Commandlets Mehr über die Windows PowerShell

Bücher zur PowerShell

Buchcover Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe) Windows PowerShell 5.0 - Das Praxishandbuch (1. Auflage 2016/5. Auflage Gesamtreihe)
Autoren: Dr. Holger Schwichtenberg
erschienen 2016, 996 Seiten, 49,99 €
ISBN: 3446446435
Bestellung: Amazon.de oder im Buchhandel über ISBN 3446446435

Schulungen/Seminare

Offene Seminare zur PowerShell
In-House-Seminare zur PowerShell