WPF VB.Net Tutorial

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="WPF" Height="350" Width="500">
    
        
            
                
                    
                
            

            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
            
        
                             HorizontalScrollBarVisibility="Visible" 
                     VerticalScrollBarVisibility="Visible">
            
                
                    paragraph
                
                
                    paragraph
                
                A List
                
                    
                        
                            Bold List Item
                        

                    

                    
                        
                            Italic List Item
                        

                    

                    
                        
                            Underlined List Item
                        

                    

                

            

        
    


//File:Window.xaml.vb
Imports System.Windows
Namespace WpfApplication1
  Public Partial Class Window1
    Inherits Window
    Public Sub New()
      InitializeComponent()
    End Sub
    Private Sub btnClear_Click(sender As Object, e As RoutedEventArgs)
      rtbTextBox1.SelectAll()
      rtbTextBox1.Cut()
    End Sub
  End Class
End Namespace