Class ChartToolBarInfo
The ChartToolBarInfo class which stores the information of ToolBar.
Inheritance
Inherited Members
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 |
---|
ChartAlignment |
AutoSize
Gets or sets a value indicating whether this element can be resized automatically.
Declaration
public bool AutoSize { get; set; }
Property Value
Type |
---|
System.Boolean |
BackColor
Gets or sets the backcolor of the ToolBar.
Declaration
[ChartTemplate(ChartTemplateSet.Simple)]
public Color BackColor { get; set; }
Property Value
Type |
---|
System.Drawing.Color |
Behavior
Gets or sets the docking behaviour.
Declaration
public ChartDockingFlags Behavior { get; set; }
Property Value
Type |
---|
ChartDockingFlags |
Border
Gets the information that is to be used for drawing border.
Declaration
[ChartTemplate(ChartTemplateSet.Content)]
public LineInfo Border { get; }
Property Value
Type |
---|
LineInfo |
ButtonBackColor
Gets or sets the BackInterior of the toolBar button.
Declaration
[ChartTemplate(ChartTemplateSet.Simple)]
public Color ButtonBackColor { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.Drawing.Color |
Buttons
Gets the toolbar buttons collection.
Declaration
[Obsolete("Use the Items collection")]
public ChartToolBarButtonCollection Buttons { get; }
Property Value
Type |
---|
ChartToolBarButtonCollection |
ButtonSize
Gets or sets the button size of the toolbar buttons.
Declaration
[ChartTemplate(ChartTemplateSet.Simple)]
public Size ButtonSize { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
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 |
---|
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 |
---|
System.Drawing.Point |
Orientation
Gets or sets the orientation of the toolbar.
Declaration
public ChartOrientation Orientation { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
|
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 |
---|
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 |
|
Size
Gets or sets the size of the toolbar button.
Declaration
public Size Size { get; set; }
Property Value
Type |
---|
System.Drawing.Size |
Spacing
Gets or sets the spacing between items.
Declaration
public int Spacing { get; set; }
Property Value
Type |
---|
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 |
---|
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 |
---|
System.EventHandler |