Not tried but it might work.
1, Create your undecorated form
2, Add a pane to hold a button (maximize)
3, Set the pane to non visible
4, Set a mouseover event to pane to show buttons when mouse is inside pane
5, Handle the maximize event - ths should trigger the snap layout
6, When mouse leaves pane - hide it again.