< Back

Invoke-WpfWindowAction

Sat Jan 18, 2020 6:17 pm

NAME Invoke-WpfWindowAction



SYNOPSIS

Invokes a script block in the context of the GUI thread of the OxyPlot CLI windows.





SYNTAX

Invoke-WpfWindowAction [-Action] <System.Management.Automation.ScriptBlock> [<CommonParameters>]





DESCRIPTION

Invokes a script block in the context of the GUI thread of the OxyPlot CLI windows.



The OxyPlot CLI library creates GUI window objects in the different thread from that of the PowerShell session.

The user should use this cmdlet to access the properties of such objects.





PARAMETERS

-Action <System.Management.Automation.ScriptBlock>

The script block to be invoked.



Required? true

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Object







NOTES











RELATED LINKS

Online Version: https://github.com/horker/oxyplotcli2/b ... wAction.md