WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MainHost

    Show / Hide Table of Contents

    Class MainHost

    Represents class for MainHost of the DockingManager.

    Inheritance
    System.Object
    MainHost
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public class MainHost : ContentControl

    Constructors

    MainHost(DockingManager)

    Initializes a new instance of the MainHost class.

    Declaration
    public MainHost(DockingManager owner)
    Parameters
    Type Name Description
    DockingManager owner

    The owner.

    Methods

    OnApplyTemplate()

    Builds the current template's visual treeWhen overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.

    Declaration
    public override void OnApplyTemplate()

    OnContentChanged(Object, Object)

    Called when the System.Windows.Controls.ContentControl.Content property changes.

    Declaration
    protected override void OnContentChanged(object oldContent, object newContent)
    Parameters
    Type Name Description
    System.Object oldContent

    The old value of the System.Windows.Controls.ContentControl.Content property.

    System.Object newContent

    The new value of the System.Windows.Controls.ContentControl.Content property.

    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved