WinForms

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

    Show / Hide Table of Contents

    Class ChartToolBarInfo

    The ChartToolBarInfo class which stores the information of ToolBar.

    Inheritance
    System.Object
    ChartToolBarInfo
    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.Windows.dll
    Syntax
    public class ChartToolBarInfo

    Properties

    Alignment

    Gets or sets the alignment of the ToolBar.

    Declaration
    public ChartAlignment Alignment { get; set; }
    Property Value
    Type Description
    ChartAlignment

    AutoSize

    Gets or sets a value indicating whether this element can be resized automatically.

    Declaration
    public bool AutoSize { get; set; }
    Property Value
    Type Description
    System.Boolean

    BackColor

    Gets or sets the backcolor of the ToolBar.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public Color BackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Behavior

    Gets or sets the docking behaviour.

    Declaration
    public ChartDockingFlags Behavior { get; set; }
    Property Value
    Type Description
    ChartDockingFlags

    Border

    Gets the information that is to be used for drawing border.

    Declaration
    [ChartTemplate(ChartTemplateSet.Content)]
    public LineInfo Border { get; }
    Property Value
    Type Description
    LineInfo

    ButtonBackColor

    Gets or sets the BackInterior of the toolBar button.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public Color ButtonBackColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    ButtonFlatStyle

    Gets or sets the flatstyle appearance for the toolbar button control.

    Declaration
    [Obsolete("This property isn't used anymore")]
    public FlatStyle ButtonFlatStyle { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.FlatStyle

    ButtonForeColor

    Gets or sets the ForeColor of the toolBar button.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public Color ButtonForeColor { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    Buttons

    Gets the toolbar buttons collection.

    Declaration
    [Obsolete("Use the Items collection")]
    public ChartToolBarButtonCollection Buttons { get; }
    Property Value
    Type Description
    ChartToolBarButtonCollection

    ButtonSize

    Gets or sets the button size of the toolbar buttons.

    Declaration
    [ChartTemplate(ChartTemplateSet.Simple)]
    public Size ButtonSize { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    DockingFree

    Gets or sets a value indicating whether the ToolBar is to be held docked.

    Declaration
    public bool DockingFree { get; set; }
    Property Value
    Type Description
    System.Boolean

    EnableDefaultItems

    Specifies whether to use default items for toolbar or not

    Declaration
    public bool EnableDefaultItems { get; set; }
    Property Value
    Type Description
    System.Boolean

    Default toolbar required

    Header

    Gets or sets the height of the header.

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

    IconPadding

    Gets or sets the icon padding of items.

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

    The icon padding.

    IncludeInExportedChart

    Gets or sets the spacing between items.

    Declaration
    public bool IncludeInExportedChart { get; set; }
    Property Value
    Type Description
    System.Boolean

    Items

    Gets the items.

    Declaration
    public ChartToolBarItemCollection Items { get; }
    Property Value
    Type Description
    ChartToolBarItemCollection

    The items.

    Location

    Gets or sets the location of the toolbar.

    Declaration
    public Point Location { get; set; }
    Property Value
    Type Description
    System.Drawing.Point

    Orientation

    Gets or sets the orientation of the toolbar.

    Declaration
    public ChartOrientation Orientation { get; set; }
    Property Value
    Type Description
    ChartOrientation

    Padding

    Gets or sets the padding.

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

    The padding.

    Position

    Gets or sets the docking position of the ToolBar.

    Declaration
    public ChartDock Position { get; set; }
    Property Value
    Type Description
    ChartDock

    ShowBorder

    Gets or sets a value indicating whether show the border.

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

    true if [show border]; otherwise, false.

    ShowDialog

    Gets or sets a value indicating whether the ToolBarPropertyDialog is to be shown or not on double click.

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

    ShowGrip

    Gets or sets a value indicating whether grip is shown.

    Declaration
    public bool ShowGrip { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if grip is shown; otherwise, false.

    Size

    Gets or sets the size of the toolbar button.

    Declaration
    public Size Size { get; set; }
    Property Value
    Type Description
    System.Drawing.Size

    Spacing

    Gets or sets the spacing between items.

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

    Visible

    Gets or sets a value indicating whether the toolbar is to be shown.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Hide()

    Conceals control from the user.

    Declaration
    public void Hide()

    Show()

    Displays control to the user.

    Declaration
    public void Show()

    Events

    ItemClick

    An event that is triggered when item is clicked.

    Declaration
    public event EventHandler ItemClick
    Event Type
    Type Description
    System.EventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2022 Syncfusion Inc. All Rights Reserved