How to Display Different Window Styles in WPF Using F#

Today I am
going to explain how you can display different window styles in WPF using
F#. If you want to show a different window style firstly you will create a
MenuItem Object to change the window style than you will add the items (Window
Styles) to the menu. Then you will add this style menu to a Dock Panel and lastly add a TextBlock to the Dock panel to show the Text in the
Window. where you can set the Title, FontSize and Alignment properties for the
Text.

A MenuItem
object will be created by below code.

//
This will Create the MenuItem objects to change WindowStylelet
stylItm = new MenuItem(Header="_WindowStyle");