When setting the Hidden property to true on a WindowAction, the action button is still rendered, e.g.:
<WindowAction Name="Maximize" Hidden="true"></WindowAction>
See this REPL for an example:
https://blazorrepl.telerik.com/wPbGYMvi23qjUo1c41
Hello Kevin,
The Window controls the visibility of Minimize and Maximize actions, depending on the current Window state. In other words, the Hidden setting is ignored for these two actions specifically. I agree this should be documented and changes will take effect after the next site upload. In the future, we may allow two-way binding for nested component attributes, but this is just an idea for the time being.
If you need to override the default behavior, you can use conditional rendering:
<WindowActions>
@if (ShowMaximize)
{
<WindowAction Name="Maximize" />
}
<WindowAction Name="Close" />
</WindowActions>
Regards,
Dimo
Progress Telerik