Expander

<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

posted @ 2011-11-26 17:03  quietwalk  阅读(233)  评论(0编辑  收藏  举报