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 a new instance of the TabbedMdiContainer
class.
public TabbedMdiContainer(DockManager dockManager)
Parameter | Type | Description |
---|---|---|
dockManager | DockManager | The DockManager that is managing the dock object. |
Properties
DisplayRectangle
Gets the rectangle that represents the display area of the control.
public override Rectangle DisplayRectangle { get; }
Property Value
DockManager
Gets the DockManager that is managing the dock object.
public DockManager DockManager { get; }
Property Value
- DockManager:
The DockManager that is managing the dock object.
DockObjectType
Gets a DockObjectType specifying the type of dock object.
public DockObjectType DockObjectType { get; }
Property Value
- DockObjectType:
A DockObjectType specifying the type of dock object.
SelectedTabbedMdiWindow
Gets or sets the selected TabbedMdiWindow.
[Browsable(false)]
public TabbedMdiWindow SelectedTabbedMdiWindow { get; set; }
Property Value
- TabbedMdiWindow:
The selected TabbedMdiWindow.
TabbedMdiRootContainer
Gets the TabbedMdiRootContainer that is currently in use.
[Browsable(false)]
public TabbedMdiRootContainer TabbedMdiRootContainer { get; }
Property Value
- TabbedMdiRootContainer:
The TabbedMdiRootContainer that is currently in use.
TabbedMdiWindows
Gets the collection of child TabbedMdiWindow controls.
[Browsable(false)]
public TabbedMdiWindowCollection TabbedMdiWindows { get; }
Property Value
- TabbedMdiWindowCollection:
A TabbedMdiWindowCollection containing the collection of child TabbedMdiWindow controls.
Methods
Dispose(bool)
Disposes any resources used by the object.
protected override void Dispose(bool disposing)
Parameter | Type | Description |
---|---|---|
disposing | bool | Whether the object is being disposed. |
OnRender(PaintEventArgs)
Renders the element.
protected override void OnRender(PaintEventArgs e)
Parameter | Type | Description |
---|---|---|
e | PaintEventArgs | A PaintEventArgs that contains the event data. |
OnSizeChanged(EventArgs)
Occurs when the size is changed.
protected override void OnSizeChanged(EventArgs e)
Parameter | Type | Description |
---|---|---|
e | EventArgs | A EventArgs that contains the event data. |
ProcessCmdKey(ref Message, Keys)
Processes a key.
protected override bool ProcessCmdKey(ref Message m, Keys keyData)
Parameter | Type | Description |
---|---|---|
m | Message | The message to process. |
keyData | Keys | One of the |
Returns
- bool:
true
if the key 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:
true
if 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.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.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()