WPF - A simple text Editor in less than 20 lines of markup!

|

So powerful is WPF that you can write, in less than 20 lines of markup (with zero code behind), a simple text editor... with spell checking!

All you need do is put the following XAML into your favourite text editor and compile:

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="SimpleXAMLTextEditor" Height="300" Width="300">
 
   


     
       
       
       
     

   

   
     
       

3 comments:

JohnP said...

Wow thats a great example, Ta.

Anonymous said...

Great example!

Anonymous said...

Great Example!

Newer Post Older Post Home