This sample shows how to add a button showing MDI child windows list to the XtraTabbedMdiManager's header. A button like "Active Files" in Visual Studio. To accomplish this, we've created an XtraTabbedMdiManager descendant along with descendants of other classes like the TabHeaderViewInfo and TabButtonsPanel. Also, since we cannot make changes to the Enums, we cannot extend the buttons set available in the HeaderButtons property. So, a separate property controlling this button's visibility has been added - HeaderShowActiveFilesButton. It has the bool type and by default is set to false.
Question Comments
Added By: Mike Liu at: 11/1/2013 11:35:55 AM
Hi I downloaded this example, and ran it, but I didn't see the button on the tab manager header. Where is the button?
Added By: Roman Jedrzejowski at: 9/21/2014 11:12:23 AMSame here, dl, run but no buttons, i search for HeaderShowActiveFilesButton , change it to true but there is no button still.
Added By: Yaroslav (DevExpress Support) at: 9/22/2014 6:24:58 AMHi Roman,
This example was created long time ago, so some internal methods have been changed since that time. I slightly updated the target project (both C# and VB.NET versions) in order to fix the aforementioned issue. Now an additional button is displayed as expected under the latest 14.1 version.
Don't hesitate to contact us in case of any difficulty.