(7)WPF 容器控件
原创
©著作权归作者所有:来自51CTO博客作者富坚老贼的原创作品,请联系作者获取转载授权,否则将追究法律责任
一、ScrollViewer
通常用来封装布局的滚动条
<ScrollViewer>
<TextBox Width="200" Height="500"></TextBox>
</ScrollViewer>
二、GroupBox
<GroupBox Header="选项" Width="80" Height="80">
<StackPanel>
<RadioButton>中</RadioButton>
<RadioButton>日</RadioButton>
<RadioButton>韩</RadioButton>
</StackPanel>
</GroupBox>
三、TabItem
选项卡
<TabControl Width="200" Height="200">
<TabItem Header="第一页">
</TabItem>
<TabItem Header="第二页">
</TabItem>
</TabControl>
四、Expander
伸缩面板
<Expander Width="200" Height="200">
<StackPanel>
<Label Height="30">hello</Label>
<TextBox Height="20" Margin="3"></TextBox>
</StackPanel>
</Expander>