In the WPF app I'm making at the moment, I need a method that will allow me to click a button and a different "page" in the middle of the window is changed based on button click.
So, if button 1 is clicked, page 1 is shown and so forth. In WinForms, I'd just make a tabless tabcontrol like so:
Public Class TabLessTabControl
Protected Overrides Sub WndProc(ByRef m As Message)
'Hide tabs by trapping the TCM_ADJUSTRECT message
If m.Msg = &H1328 Then
m.Result = CType(1, IntPtr)
But, that doesn't work in WPF. Does anyone have any ideas on how to duplicate this in WPF or if there's a better method?