I wonder how would it be possible to bind Window.Effect
to ViewModel
so that it could be the ViewModel
controlling how the window looks like.
I'm aware that we can bind properties one-by-one such as following; however, this is not really binding Effect
rather is binding settings to the Effect
which is not of my interest.
<Window.Effect>
<BlurEffect Radius="{Binding UIElementEffect.Radius}" />
</Window.Effect>