About Progress

  • Company
    • Company Overview
    • Leadership
    • Corporate Social Responsibility
    • Investor Relations
    • Press Releases
    • Press Coverage
    • Recognitions
    • Progress Labs
    • Events
    • Customers
    • Careers
    • Offices
  • Technology
    • Cloud Native App Dev Platform
    • Cognitive Services
    • Web Content Management
    • UI/UX Tools
    • Secure Data Connectivity and Integration
    • Secure Managed File Transfer
    • OpenEdge
    • Network Monitoring
  • Services
    • Consulting
    • Education
    • Modernization
    • Outsourcing
  • Product Bundles

    DevCraft

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

    • Conversational UI
    • Online Training
    • Document Processing Library
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin NativeScript OSS framework
    Desktop
    UI for WPF UI for UWP UI for WinForms
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • 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>>)

Was this article helpful?

 / 
Tell us how we can improve this article
Skip
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.