skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility and Security
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class HostWindow

Represents a special type of DockWindow, which is used internally by RadDock to wrap custom controls as part of the docking framework.

Inheritance
System.Object
TabPanel
DockWindow
HostWindow
Inherited Members
DockWindow.forceDesiredDockStateSerialization
DockWindow.OnGotFocus(EventArgs)
DockWindow.OnEnter(EventArgs)
DockWindow.WndProc(Message)
DockWindow.OnMouseDown(MouseEventArgs)
DockWindow.Close()
DockWindow.EnsureVisible()
DockWindow.EnsureVisible(Boolean)
DockWindow.DockTo(DockWindow, DockPosition)
DockWindow.Hide()
DockWindow.OnNameChanged(String)
DockWindow.OnTextChanged(EventArgs)
DockWindow.UpdateOnTextChanged()
DockWindow.ToString()
DockWindow.OnImageChanged(EventArgs)
DockWindow.OnToolTipTextChanged(EventArgs)
DockWindow.Dispose(Boolean)
DockWindow.OnClosed(DockWindowEventArgs)
DockWindow.DefaultDockState
DockWindow.DefaultCloseAction
DockWindow.ValidationCancel
DockWindow.ToolCaptionButtons
DockWindow.DocumentButtons
DockWindow.DockTabStrip
DockWindow.DefaultFloatingSize
DockWindow.BackColor
DockWindow.AutoHideSize
DockWindow.AllowedDockState
DockWindow.CloseAction
DockWindow.AutoHideTab
DockWindow.PreviousDockState
DockWindow.DesiredDockState
DockWindow.FloatingParent
DockWindow.DockState
DockWindow.IsInFloatingMode
DockWindow.Site
DockWindow.Name
DockWindow.DockManager
DockWindow.Padding
TabPanel.ShouldSerializeToolTipText()
TabPanel.GetTabStrip<T>()
TabPanel.OnPropertyChanged(String)
TabPanel.BorderStyle
TabPanel.DefaultSize
TabPanel.Image
TabPanel.TabStripItem
TabPanel.ToolTipText
TabPanel.TabStrip
TabPanel.Anchor
TabPanel.AutoSize
TabPanel.Size
TabPanel.Dock
TabPanel.Enabled
TabPanel.Location
TabPanel.Visible
TabPanel.MaximumSize
TabPanel.MinimumSize
TabPanel.TabIndex
TabPanel.TabStop
TabPanel.AutoSizeChanged
TabPanel.DockChanged
TabPanel.EnabledChanged
TabPanel.LocationChanged
TabPanel.TabIndexChanged
TabPanel.TabStopChanged
TabPanel.TextChanged
TabPanel.VisibleChanged
TabPanel.PropertyChanged
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll

Syntax

public class HostWindow : DockWindow, INotifyPropertyChanged, IDockWindow

Constructors

HostWindow()

Initializes a new instance of the HostWindow class.

Declaration
public HostWindow()

HostWindow(Control)

Initializes a new HostWindow instance with the specified Control as a content.

Declaration
public HostWindow(Control control)
Parameters
System.Windows.Forms.Control control

HostWindow(Control, DockType)

Initializes a new HostWindow instance with the specified Control as a content and using the desired DockType.

Declaration
public HostWindow(Control control, DockType dockType)
Parameters
System.Windows.Forms.Control control

DockType dockType

Properties

Content

Gets the Control instance that is hosted on this window.

Declaration
public Control Content { get; }
Property Value
System.Windows.Forms.Control

DockType

Declaration
public override DockType DockType { get; }
Property Value
DockType

Overrides
DockWindow.DockType

MdiChild

Gets the associated Content as a Form instance. Valid when used in standard MDI mode.

Declaration
public Form MdiChild { get; }
Property Value
System.Windows.Forms.Form

SerializedDockType

Used internally by the XML serialization.

Declaration
public DockType SerializedDockType { get; set; }
Property Value
DockType

Methods

ActivateAsMdiChild()

Declaration
public void ActivateAsMdiChild()

LoadContent(Control)

Loads the content.

Declaration
public void LoadContent(Control content)
Parameters
System.Windows.Forms.Control content

The content.

OnClosing(DockWindowCancelEventArgs)

Declaration
protected override void OnClosing(DockWindowCancelEventArgs e)
Parameters
DockWindowCancelEventArgs e

Overrides
DockWindow.OnClosing(DockWindowCancelEventArgs)

OnControlRemoved(ControlEventArgs)

Declaration
protected override void OnControlRemoved(ControlEventArgs e)
Parameters
System.Windows.Forms.ControlEventArgs e

OnLayout(LayoutEventArgs)

Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
System.Windows.Forms.LayoutEventArgs e

Show()

Display the HostWindow if was previously hidden.

Declaration
public void Show()

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.