【发布时间】:2013-12-30 20:15:29
【问题描述】:
请帮帮我:
如果我在 HubSection 中有一个 TextBox,如果我拥有 TextBox 的 Grid 在 DataTemplate 中,我如何从中获取数据?
<Hub Style="{StaticResource HubStyle1}">
<Hub.Header>
<!-- Some stuff here -->
</Hub.Header>
<HubSection Width="731" Style="{StaticResource HubSectionStyle1}">
<DataTemplate>
<Grid FlowDirection="RightToLeft" Margin=" 0,10,0,0" >
<TextBox
Grid.Row="0"
Grid.Column="1"
Style="{StaticResource AddTextBlockStyle}" />
</Grid>
</DataTemplate>
</HubSection>
</Hub>
【问题讨论】:
标签: c# xaml windows-8.1