WPF中常用的文本框、按钮、列表框等控件具体如何使用和介绍?
- 内容介绍
- 文章标签
- 相关推荐
本文共计1512个文字,预计阅读时间需要7分钟。
GroupBox + 注意:GroupBox 仍然需要布局容器来放置元素。例如:StackPanel 面板 + GroupBox Header=select number? + StackPanel + RadioButton1/RadioButton + RadioButton2/RadioButton + RadioButton3/RadioButton + /StackPanel + /GroupBox
1.GroupBox
注意: GroupBox仍然需要布局容器来放置元素。如: StackPanel面板
<GroupBox Header="select number?"> <StackPanel> <RadioButton>one</RadioButton> <RadioButton>two</RadioButton> <RadioButton>three</RadioButton> </StackPanel> </GroupBox>
2.TabControl
像这种标签页控件, 在winform种非常常见, Tabpge子页面, 而在WPF种, 对应的则是TabItem类。
本文共计1512个文字,预计阅读时间需要7分钟。
GroupBox + 注意:GroupBox 仍然需要布局容器来放置元素。例如:StackPanel 面板 + GroupBox Header=select number? + StackPanel + RadioButton1/RadioButton + RadioButton2/RadioButton + RadioButton3/RadioButton + /StackPanel + /GroupBox
1.GroupBox
注意: GroupBox仍然需要布局容器来放置元素。如: StackPanel面板
<GroupBox Header="select number?"> <StackPanel> <RadioButton>one</RadioButton> <RadioButton>two</RadioButton> <RadioButton>three</RadioButton> </StackPanel> </GroupBox>
2.TabControl
像这种标签页控件, 在winform种非常常见, Tabpge子页面, 而在WPF种, 对应的则是TabItem类。

