BCGSoft.ControlBars Namespace : MDIContainer Class |
Inherits Control class of the System.Windows.Forms namespace.
Represents the container for multiple-document interface (MDI) child forms. The instance of this object will be created only if child forms are tabbed documents. The instance of MDIContainer will be created by default on creation MDIClientArea. Another MDIContainers we can add by method AddMdiContainer of MDIClientArea class. The access to the MDIContainer collection of the MDIClientArea you can get using property MDIContainers of the MDIClientArea.
MDIContainer class is used for managing MDI forms and their tabstrip.
Properties of MDIContainer class allow to get an access to the TabstripControl, it’s TabItemCollection, MDITabsOption object related to MDIContainer, get current active MDI form. Method FindTabItemByName allows to find a tabbed document with the text specified in parameter “value”. Methods CloseAllBut, CloseTab make tab documents invisible. On the event TabStripMouseUp the context menu for current tabstrip will be shown. The MDIContainer class has as eventhandlers for the commands of this context menu as eventhandlers for events raised on the tab control, on changing visual manager and others.
'Declaration Public Class MDIContainer Inherits System.Windows.Forms.Control
'Usage Dim instance As MDIContainer
public class MDIContainer : System.Windows.Forms.Control
public __gc class MDIContainer : public System.Windows.Forms.Control
public ref class MDIContainer : public System.Windows.Forms.Control
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
BCGSoft.ControlBars.MDIContainer
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2