WPF VB.Net

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Layout" Height="365" Width="380" MinWidth="350" MinHeight="150">
  
    
      Prev
      Next      
      Show Long Text
    
    
    
     This behavior makes localization much easier.
    Close
  


//File:Window.xaml.vb
Imports System
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports System.Windows.Shapes
Namespace LayoutPanels
  Public Partial Class LocalizableText
    Inherits Window
    Public Sub New()
      InitializeComponent()
    End Sub
    Private Sub chkLongText_Checked(sender As Object, e As RoutedEventArgs)
      cmdPrev.Content = " <- Go to the Previous Window "
      cmdNext.Content = " Go to the Next Window -> "
    End Sub
    Private Sub chkLongText_Unchecked(sender As Object, e As RoutedEventArgs)
      cmdPrev.Content = "Prev"
      cmdNext.Content = "Next"
    End Sub
  End Class
End Namespace