WPF VB.Net Tutorial

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    SizeToContent="Width">
    
        
            
            
            
        
        
            
            
            
        
    

    
        
            
        Shared ContextMenu 
        
        True control.
            
                      ContextMenu="{DynamicResource SharedInstanceContextMenu}" />
                      ContextMenu="{DynamicResource NonsharedInstanceContextMenu}" />
                      ContextMenu="{DynamicResource SharedInstanceContextMenu}" />
                      ContextMenu="{DynamicResource NonsharedInstanceContextMenu}" />