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="134" Width="200">
    
    
            x:Key="CustomProgressBarStyle"
        TargetType="{x:Type ProgressBar}">
        
            
                                        TargetType="{x:Type ProgressBar}">
                    
                                                  Name="PART_Track" 
                          Background="{DynamicResource 
                            {x:Static SystemColors.InactiveCaptionBrushKey}}"
                          BorderBrush="{DynamicResource 
                            {x:Static SystemColors.InactiveBorderBrushKey}}"
                          BorderThickness="1" 
                              />
                                                  Name="PART_Indicator" 
                          Background="{DynamicResource 
                            {x:Static SystemColors.ActiveCaptionBrushKey}}"
                          BorderBrush="{DynamicResource 
                            {x:Static SystemColors.ActiveBorderBrushKey}}"
                          BorderThickness="1" 
                          HorizontalAlignment="Left" 
                             />
                    
                
            

        
    
    

    
                             HorizontalAlignment="Center"
                     Margin="4"
                     Style="{DynamicResource CustomProgressBarStyle}"/>
                        Content="Custom Brush" 
                Foreground="{DynamicResource ButtonText}"/>
                        Content="System Brush" 
                Foreground="{DynamicResource 
                   {x:Static SystemColors.ActiveCaptionBrushKey}}"/>