According to the documentation, -ToolbarContent
takes a scriptblock. So, I specify
-ToolbarContent {
New-UDTypography -Text "Test toolbar"
}
When looking at the table object using Get-UDElement
I see this…
However, on the dashboard nothing is displayed (and to be fair, I’m not sure exactly what to expect from -ToolbarContent
as it’s not in the documentation). Is there another parameter needed to get this to work? I’m hoping to add some custom buttons to interact with the table while being contained in the same object.
Product: PowerShell Universal
Version: 3.6.4