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. |