WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ChartDockingManager - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ChartDockingManager

    ChartDockingManager provides docking feature of chart elements (Legends, Titles, ToolBar...).

    Inheritance
    System.Object
    ChartDockingManager
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Base.dll
    Syntax
    public sealed class ChartDockingManager : IDisposable

    Constructors

    ChartDockingManager()

    Initializes a new instance of the ChartDockingManager class.

    Declaration
    public ChartDockingManager()

    ChartDockingManager(Control)

    Initializes a new instance of the ChartDockingManager class.

    Declaration
    public ChartDockingManager(Control host)
    Parameters
    Type Name Description
    System.Windows.Forms.Control host

    The host.

    Properties

    DockAlignment

    If it's enable, user can set using mouse alignment for controls.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public bool DockAlignment { get; set; }
    Property Value
    Type Description
    System.Boolean

    LayoutMode

    Gets or sets the layout mode.

    Declaration
    public ChartLayoutMode LayoutMode { get; set; }
    Property Value
    Type Description
    ChartLayoutMode

    The layout mode.

    Placement

    Determines if the docked element is placed inside or outside the host.

    Declaration
    public ChartPlacement Placement { get; set; }
    Property Value
    Type Description
    ChartPlacement

    The placement.

    Spacing

    Indicates space between chart elements.

    Declaration
    public int Spacing { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    Add(IChartDockControl)

    Adds the specified control to the ChartDockingManager.

    Declaration
    public void Add(IChartDockControl control)
    Parameters
    Type Name Description
    IChartDockControl control

    The control.

    Clear()

    Clears all dock controls.

    Declaration
    public void Clear()

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    DoLayout(Rectangle)

    Returns the size of the specified rectangle.

    Declaration
    public Rectangle DoLayout(Rectangle rect)
    Parameters
    Type Name Description
    System.Drawing.Rectangle rect

    The bounds of host element.

    Returns
    Type Description
    System.Drawing.Rectangle

    Freeze()

    This method prevents manager from any processing and firing of events.

    Declaration
    public void Freeze()

    GetAllControls()

    Returns the controls.

    Declaration
    public IEnumerable GetAllControls()
    Returns
    Type Description
    System.Collections.IEnumerable

    Melt()

    This method restores the original state of manager (before freezing).

    Declaration
    public void Melt()

    Remove(IChartDockControl)

    Removes the specified control from the Docking manager.

    Declaration
    public void Remove(IChartDockControl control)
    Parameters
    Type Name Description
    IChartDockControl control

    The control.

    Events

    SizeChanged

    An event that is raised when the size of the docking manager is changed.

    Declaration
    public event EventHandler SizeChanged
    Event Type
    Type Description
    System.EventHandler

    Implements

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