<Slider Name="photoZoomSlider" Width="180" Minimum="100" Maximum="700" Value="300" />
<ScrollViewer >
<Viewbox Width="{Binding ElementName=photoZoomSlider, Path=Value}" Height="{Binding ElementName=photoZoomSlider, Path=Value}">
<StackPanel>
<Image Name="Photo" Source="C:\dic.bmp" Width="100" Height="100"/>
<TextBox Width="100"></TextBox>
<TextBox Width="200" Padding="5"></TextBox>
<TextBox Width="10"></TextBox>
<TextBox Width="500"></TextBox>
</StackPanel>
<!--<Viewbox.LayoutTransform>
<ScaleTransform x:Name="uiZoomTransform"
ScaleX="{Binding ElementName=photoZoomSlider, Path=Value}"
ScaleY="{Binding ElementName=photoZoomSlider, Path=Value}"/>
</Viewbox.LayoutTransform>-->
</Viewbox>
</ScrollViewer>
</StackPanel>
Настройте ползунок, TextBox не может показать фокус, когда я нажимаю textBox, пожалуйста, как решить?Спасибо!