How to Show/Hidden TabControlParent by Buttons?

Oct 28, 2011 at 9:32 AM
Edited Oct 30, 2011 at 7:19 AM

For example:

<Fluent:RibbonWindow......................>

<Fluent:Ribbon........................>

</Fluent:Ribbon>

<Button Content="Show TabControlParent" Click="ShowTab_Click"....../>

<Button Content="Hidden TabControlParent" Click="HiddenTab_Click"..../>

</Fluent:RibbonWindow>

I want show/hidden TabControlParent by button,but user double click tab or press ctrl+f1.

But i don't know how to write the show/hidden function,please