TabbedMdiContainer Class
Provides the root container for document window tabbed MDI containers.
public class TabbedMdiContainer : UIControl, IUIControl, IUIElement, ILogicalTreeNode, IDpiAwareElement, IDisposable, IDockObject
- Inheritance:
- object MarshalByRefObject Component Control ScrollableControl UIControl object
Constructors
TabbedMdiContainer(DockManager)
Initializes an instance of the class.
public TabbedMdiContainer(DockManager dockManager)
| Parameter | Type | Description |
|---|---|---|
| dockManager | DockManager | The DockManager that is managing the dock object. |
Properties
DisplayRectangle
The rectangle that represents the display area of the control.
DockManager
The DockManager that is managing the dock object.
DockObjectType
A DockObjectType specifying the type of dock object.
SelectedTabbedMdiWindow
The selected TabbedMdiWindow.
[Browsable(false)]
public TabbedMdiWindow? SelectedTabbedMdiWindow { get; set; }
Property Value
TabbedMdiRootContainer
The TabbedMdiRootContainer that is currently in use.
[Browsable(false)]
public TabbedMdiRootContainer? TabbedMdiRootContainer { get; }
Property Value
TabbedMdiWindows
The collection of child TabbedMdiWindow controls.
[Browsable(false)]
public TabbedMdiWindowCollection TabbedMdiWindows { get; }
Property Value
Methods
Dispose(bool)
Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
protected override void Dispose(bool disposing)
| Parameter | Type | Description |
|---|---|---|
| disposing | bool |
|
OnRender(PaintEventArgs)
Renders the element.
protected override void OnRender(PaintEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | The event data. |
OnSizeChanged(EventArgs)
Raises the SizeChanged event.
protected override void OnSizeChanged(EventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | An EventArgs that contains the event data. |
ProcessCmdKey(ref Message, Keys)
Processes a command key.
protected override bool ProcessCmdKey(ref Message m, Keys keyData)
| Parameter | Type | Description |
|---|---|---|
| m | Message | |
| keyData | Keys | One of the Keys values that represents the key to process. |
Returns
- bool:
trueif the character was processed by the control; otherwise,false.
SelectNext()
Selects the next TabbedMdiWindow, wrapping to the beginning if necessary.
public void SelectNext()
Remarks
If the last TabbedMdiWindow is selected when this method is called, the control will attempt to wrap to another container. If one is not available, the first TabbedMdiWindow in this container will be selected.
SelectPrevious()
Selects the previous TabbedMdiWindow, wrapping to the end if necessary.
public void SelectPrevious()
Remarks
If the first TabbedMdiWindow is selected when this method is called, the control will attempt to wrap to another container. If one is not available, the last TabbedMdiWindow in this container will be selected.
ShowActiveFilesMenu()
Displays the active files menu for the TabbedMdiContainer.
public bool ShowActiveFilesMenu()
Returns
- bool:
trueif the active files button is visible, enabled and the menu was displayed; otherwise,false.
Inherited Members
- UIControl.AddPendingGraphicsInversion(Rectangle)
- UIControl.AddPendingScrollOperation(Rectangle, Orientation, int)
- UIControl.AddPendingScrollOperation(Rectangle, int, int)
- UIControl.AddToInvalidatedRegion()
- UIControl.AddToInvalidatedRegion(Rectangle)
- UIControl.Arrange(Rectangle)
- UIControl.ArrangeOverride(Size)
- UIControl.ContainsLocation(Point)
- UIControl.CreateChildren()
- UIControl.DpiScaleChanged(SizeF)
- UIControl.GetCursor(Point)
- UIControl.HitTest(PointHitTestParameters, Func<IUIElement, PointHitTestParameters, bool>)
- UIControl.HitTestRecursive(PointHitTestParameters, Func<IUIElement, PointHitTestParameters, bool>)
- UIControl.Invalidate(InvalidationLevels, InvalidationTypes)
- UIControl.InvalidateArrange()
- UIControl.InvalidateMeasure()
- UIControl.Measure(Graphics, Size)
- UIControl.MeasureOverride(Graphics, Size)
- UIControl.OnClick(EventArgs)
- UIControl.OnDoubleClick(EventArgs)
- UIControl.OnDpiChangedAfterParent(EventArgs)
- UIControl.OnHandleCreated(EventArgs)
- UIControl.OnLayout(LayoutEventArgs)
- UIControl.OnLocationChanged(EventArgs)
- UIControl.OnMouseCaptureChanged(EventArgs)
- UIControl.OnMouseDown(MouseEventArgs)
- UIControl.OnMouseEnter(EventArgs)
- UIControl.OnMouseHover(EventArgs)
- UIControl.OnMouseLeave(EventArgs)
- UIControl.OnMouseMove(MouseEventArgs)
- UIControl.OnMouseUp(MouseEventArgs)
- UIControl.OnMouseWheel(MouseEventArgs)
- UIControl.OnPaint(PaintEventArgs)
- UIControl.OnPaintBackground(PaintEventArgs)
- UIControl.OnParentChanged()
- UIControl.OnParentChanged(EventArgs)
- UIControl.OnRenderChildElements(PaintEventArgs)
- UIControl.OnResize(EventArgs)
- UIControl.OnRightToLeftChanged(EventArgs)
- UIControl.OnVisibleChanged(EventArgs)
- UIControl.Render(PaintEventArgs)
- UIControl.ResetDoubleBufferCanvas(bool)
- UIControl.ResumePainting()
- UIControl.SuspendPainting()
- UIControl.TransformToAncestor(IUIElement)
- UIControl.TransformToDescendant(IUIElement)
- UIControl.UpdateCursor()
- UIControl.UpdateCursor(Point)
- UIControl.UpdateLayout()
- UIControl.ActualHeight
- UIControl.ActualWidth
- UIControl.BackColor
- UIControl.BackgroundImage
- UIControl.CaptureMouseWhenPressed
- UIControl.ClipBounds
- UIControl.DesiredSize
- UIControl.DpiScaleFactor
- UIControl.Font
- UIControl.ForeColor
- UIControl.IsArrangeValid
- UIControl.IsMeasureValid
- UIControl.IsPaintValid
- UIControl.IsRightToLeft
- UIControl.LastMouseUpButton
- UIControl.PaintingSuspended
- UIControl.UseControlGraphicsForMeasure
- UIControl.UseExtendedDoubleBuffering
- MarshalByRefObject.GetLifetimeService()
- MarshalByRefObject.InitializeLifetimeService()
- MarshalByRefObject.MemberwiseClone(bool)
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()