Does anyone know what "-PaperStyle" can be used for in Show-UDModal?

Resolved

Does anyone know what "-PaperStyle" can be used for in Show-UDModal?

avatar

I'm working on redesigning one of our wizard driven experiences and had a crazy thought of putting a "translucent wallpaper" behind the modal so it could dynamically display the Hypervisor they're working in/on.

Show-UDModal | Devolutions PowerShell Universal | Product guides & reference

Here is a rough thing I put together in a screenshot tool.

Obviously, the images would be more transparent as to not interfere with the form.

But, I think you get the idea.

All Comments (2)

avatar

is a style applied to whole modal:

Show-UDModal -Content {
  New-UDTypography "test"
} -PaperStyle @{'height' = '420px'} -ContentStyle @{'color' = 'blue'}
avatar

is a style applied to whole modal:

Show-UDModal -Content {

New-UDTypography "test"

} -PaperStyle @{'height' = '420px'} -ContentStyle @{'color' = 'blue'}

Thanks, @krisr!