StandardMdiWindowControl Class
Represents a WindowControl that is used as the root control of a hosted floating window.
public class StandardMdiWindowControl : WindowControl
- Inheritance:
- object Visual UIElement FrameworkElement Control ContentControl WindowControl object
Constructors
StandardMdiWindowControl()
Initializes an instance of the StandardMdiWindowControl
class.
public StandardMdiWindowControl()
Properties
DockHost
Gets the DockHost that contains this control.
DockSite
Gets the DockSite that is managing this docking window.
public DockSite DockSite { get; }
Property Value
DockingWindow
Gets the DockingWindow that is wrapped by this control.
public DockingWindow DockingWindow { get; }
Property Value
- DockingWindow:
The DockingWindow that is wrapped by this control.
Methods
GetAdjustedBounds(Rect, ResizeOperation)
Returns an adjusted version of the specified bounds, which can provide support for features such as magnetism.
public override Rect GetAdjustedBounds(Rect bounds, ResizeOperation resizeOperation)
Parameter | Type | Description |
---|---|---|
bounds | Rect | The bounds to examine. |
resizeOperation | ResizeOperation | The active resize operation. |
Returns
- Rect:
The adjusted bounds.
OnActivated(RoutedEventArgs)
Called when the window gains focus within.
protected override void OnActivated(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
OnClosed(RoutedEventArgs)
Called when the window is about to close.
protected override void OnClosed(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
OnContentChanged(object, object)
Occurs when the content changes.
protected override void OnContentChanged(object oldContent, object newContent)
Parameter | Type | Description |
---|---|---|
oldContent | object | The old content. |
newContent | object | The new content. |
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
Reports that the IsKeyboardFocusWithin
property changed.
protected override void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | DependencyPropertyChangedEventArgs | A |
OnLocationChanged(RoutedEventArgs)
Called when the window is moved.
protected override void OnLocationChanged(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
OnStateChanged(RoutedEventArgs)
Called after the window's WindowState property has changed.
protected override void OnStateChanged(RoutedEventArgs e)
Parameter | Type | Description |
---|---|---|
e | RoutedEventArgs | A |
OnTitleBarMenuOpening(DockingMenuEventArgs)
Called when the title-bar should display a context menu.
protected override void OnTitleBarMenuOpening(DockingMenuEventArgs e)
Parameter | Type | Description |
---|---|---|
e | DockingMenuEventArgs | A |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
Inherited Members
- WindowControl.CanCloseProperty
- WindowControl.CornerRadiusProperty
- WindowControl.ContextContentProperty
- WindowControl.ContextContentTemplateProperty
- WindowControl.ContextContentTemplateSelectorProperty
- WindowControl.HasCloseButtonProperty
- WindowControl.HasDropShadowProperty
- WindowControl.HasIconProperty
- WindowControl.HasMaximizeButtonProperty
- WindowControl.HasMinimizeButtonProperty
- WindowControl.HasRestoreButtonProperty
- WindowControl.HasTitleBarProperty
- WindowControl.IconProperty
- WindowControl.IsActiveProperty
- WindowControl.IsCloseButtonVisibleProperty
- WindowControl.IsMaximizeButtonVisibleProperty
- WindowControl.IsMaximizedFrameVisibleProperty
- WindowControl.IsMinimizeButtonVisibleProperty
- WindowControl.IsMovingProperty
- WindowControl.IsReadOnlyProperty
- WindowControl.IsResizingProperty
- WindowControl.IsRestoreButtonVisibleProperty
- WindowControl.LeftProperty
- WindowControl.ReadOnlyContextContentTemplateProperty
- WindowControl.ResizeModeProperty
- WindowControl.RestoredBoundsProperty
- WindowControl.ShadowElevationProperty
- WindowControl.TitleProperty
- WindowControl.TitleBarFontWeightProperty
- WindowControl.TopProperty
- WindowControl.WindowStateProperty
- WindowControl.ActivatedEvent
- WindowControl.ClosedEvent
- WindowControl.ClosingEvent
- WindowControl.DeactivatedEvent
- WindowControl.DragMovedEvent
- WindowControl.DragMovingEvent
- WindowControl.DragResizedEvent
- WindowControl.DragResizingEvent
- WindowControl.LocationChangedEvent
- WindowControl.OpenedEvent
- WindowControl.StateChangedEvent
- WindowControl.TitleBarDoubleTappedEvent
- WindowControl.TitleBarMenuOpeningEvent
- WindowControl.Activate()
- WindowControl.Close()
- WindowControl.DragMove(InputPointerButtonEventArgs)
- WindowControl.HitTestResizeOperation(Point)
- WindowControl.OnApplyTemplate()
- WindowControl.OnCreateAutomationPeer()
- WindowControl.Show()
- WindowControl.ToggleWindowState()
- WindowControl.OnClosing(CancelRoutedEventArgs)
- WindowControl.OnDeactivated(RoutedEventArgs)
- WindowControl.OnDragMoved(RoutedEventArgs)
- WindowControl.OnDragMoving(CancelRoutedEventArgs)
- WindowControl.OnDragResized(RoutedEventArgs)
- WindowControl.OnDragResizing(CancelRoutedEventArgs)
- WindowControl.OnOpened(RoutedEventArgs)
- WindowControl.OnTitleBarDoubleTapped(CancelRoutedEventArgs)
- WindowControl.OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)
- WindowControl.OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)
- WindowControl.CanClose
- WindowControl.CloseCommand
- WindowControl.ContextContent
- WindowControl.ContextContentTemplate
- WindowControl.ContextContentTemplateSelector
- WindowControl.CornerRadius
- WindowControl.HasCloseButton
- WindowControl.HasDropShadow
- WindowControl.HasIcon
- WindowControl.HasMaximizeButton
- WindowControl.HasMinimizeButton
- WindowControl.HasRestoreButton
- WindowControl.HasTitleBar
- WindowControl.Icon
- WindowControl.IsActive
- WindowControl.IsCloseButtonVisible
- WindowControl.IsMaximizeButtonVisible
- WindowControl.IsMaximizedFrameVisible
- WindowControl.IsMinimizeButtonVisible
- WindowControl.IsMoving
- WindowControl.IsReadOnly
- WindowControl.IsResizing
- WindowControl.IsRestoreButtonVisible
- WindowControl.Left
- WindowControl.MaximizeCommand
- WindowControl.MinimizeCommand
- WindowControl.ReadOnlyContextContentTemplate
- WindowControl.ResizeMode
- WindowControl.RestoreCommand
- WindowControl.RestoredBounds
- WindowControl.ShadowElevation
- WindowControl.Title
- WindowControl.TitleBarFontWeight
- WindowControl.Top
- WindowControl.WindowState
- WindowControl.Activated
- WindowControl.Closed
- WindowControl.Closing
- WindowControl.Deactivated
- WindowControl.DragMoved
- WindowControl.DragMoving
- WindowControl.DragResized
- WindowControl.DragResizing
- WindowControl.LocationChanged
- WindowControl.Opened
- WindowControl.StateChanged
- WindowControl.TitleBarDoubleTapped
- WindowControl.TitleBarMenuOpening