WPF C#

            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    
    
    
    
    
    
    
     
    
    
    
    
    
        
            
                                    ScaleX="{Binding ElementName=xscroll, Path=Value}"
                    ScaleY="{Binding ElementName=yscroll, Path=Value}" 
                    CenterX="{Binding ElementName=xcenter, Path=Value}"
                    CenterY="{Binding ElementName=ycenter, Path=Value}" />