0
我有兩個手風琴項目,每個項目都包含4個文本框。當我插入手風琴項目時,爲什麼我無法在手風琴項目中的每個文本框中選擇?我幾乎嘗試了從tabindex到TabNavigation ='Local'&'Cycle'的所有內容。
我希望能夠瀏覽手風琴項目中的所有文本框。
請求代碼:
<UserControl x:Class="Pimarc.Silverlight.Commerce.UI.View.TestView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit">
<Grid x:Name="LayoutRoot" Background="White">
<toolkit:Accordion HorizontalAlignment="Left" Margin="30,46,0,0" Name="accordion1" VerticalAlignment="Top" Width="200">
<toolkit:AccordionItem Header="abac" IsTabStop="True" TabNavigation="Cycle">
<StackPanel>
<TextBox Name="textBox1" Width="120" TabIndex="0" />
<TextBox Name="textBox2" Width="120" TabIndex="1" />
<TextBox Name="textBox3" Width="120" TabIndex="2" />
<TextBox Name="textBox4" Width="120" TabIndex="3"/>
</StackPanel>
</toolkit:AccordionItem>
<toolkit:AccordionItem Header="bob">
<StackPanel>
<TextBox Name="textBox5" VerticalAlignment="Top" Width="120" />
<TextBox Name="textBox6" VerticalAlignment="Top" Width="120" />
<TextBox Name="textBox71" VerticalAlignment="Top" Width="120" />
<TextBox Name="textBox81" VerticalAlignment="Top" Width="120" />
</StackPanel>
</toolkit:AccordionItem>
</toolkit:Accordion>
</Grid>
你能延長一些XAML你的崗位上更好地瞭解/瑞普問題了嗎? – nemesv