<Expander Header="Grammar">
<StackPanel>
<CheckBox>Check grammar as you type</CheckBox>
<CheckBox>Hide grammatical errors in this document</CheckBox>
<CheckBox>Check grammar with spellling</CheckBox>
</StackPanel>
</Expander>
Expander定义了 IsExpanderd属性以及 Expanded/Collapsed事件。
可以用 ExpandDirection属性控制展开方向(Up;Down;Left;Right)