Neutronium
Neutronium copied to clipboard
ResizeGrip control
When setting the ResizeMode of the WPF window element to "CanResizeWithGrip" it doesn't show a ResizeGrip control.
Can something like this be implemented for Neutronium?
It would be good if one can resize the window by a specific drag-area instead of a 1-pixel window border, which is nearly impossible to hit on 4k screens with scaling enabled.
The chromeless behaviour is in part provided by this class in Neutronium: Chromeless.css which in turns uses internally Wpf WindowChrome[https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.windowchrome?view=netframework-4.7.2]. It seems that the static methods WindowChrome.SetResizeGripDirection can be used to set a custom ResizeGrip. So that migth be possible. I will take a look in the mid-term. @Tywele if you could experiment a solution based on this suggestion in the menawhile and give me some feedback it would be awesome.
@genyx regarding the resize border border, it can be changed this way
<i:Interaction.Behaviors>
<neutronium:Chromeless Thickness="3" />
</i:Interaction.Behaviors>