IgxToolbarComponent

new IgxToolbarComponent(renderer: Renderer2, _elRef: ViewContainerRef, ngZone: NgZone, injector: Injector, changeDetector: ChangeDetectorRef): IgxToolbarComponent

Returns IgxToolbarComponent

_childTemplateRef: TemplateRef<any>
_dynamicContent: ViewContainerRef
_mainDiv: Element
_mainDivRef: ElementRef

The style mappings actually present in the chart. Do not directly modify this array. This array's contents can be modified by causing Angular to reproject the child content. Or adding and removing stye mappings from the manual style mapping collection on the actions property.

combinedActions: IgxToolActionComponent[]
contentActions: QueryList<IgxToolActionComponent>
ngAcceptInputType_actualActions: string | IgxToolActionCollection

ngAcceptInputType_autoGeneratedActions

Section titled "ngAcceptInputType_autoGeneratedActions"
ngAcceptInputType_autoGeneratedActions: string | IgxToolActionCollection
ngAcceptInputType_baseTheme: any
ngAcceptInputType_density: any

ngAcceptInputType_dropdownClickBuffer

Section titled "ngAcceptInputType_dropdownClickBuffer"
ngAcceptInputType_dropdownClickBuffer: string | number
ngAcceptInputType_dropdownDelay: string | number
ngAcceptInputType_highlightRadius: string | number
ngAcceptInputType_highlightWidth: string | number
ngAcceptInputType_orientation: string | ToolbarOrientation
ngAcceptInputType_rowHeight: string | number
ngAcceptInputType_scrollbarStyle: any

ngAcceptInputType_separatorHorizontalPaddingBottom

Section titled "ngAcceptInputType_separatorHorizontalPaddingBottom"
ngAcceptInputType_separatorHorizontalPaddingBottom: string | number

ngAcceptInputType_separatorHorizontalPaddingLeft

Section titled "ngAcceptInputType_separatorHorizontalPaddingLeft"
ngAcceptInputType_separatorHorizontalPaddingLeft: string | number

ngAcceptInputType_separatorHorizontalPaddingRight

Section titled "ngAcceptInputType_separatorHorizontalPaddingRight"
ngAcceptInputType_separatorHorizontalPaddingRight: string | number

ngAcceptInputType_separatorHorizontalPaddingTop

Section titled "ngAcceptInputType_separatorHorizontalPaddingTop"
ngAcceptInputType_separatorHorizontalPaddingTop: string | number

ngAcceptInputType_separatorVerticalPaddingBottom

Section titled "ngAcceptInputType_separatorVerticalPaddingBottom"
ngAcceptInputType_separatorVerticalPaddingBottom: string | number

ngAcceptInputType_separatorVerticalPaddingLeft

Section titled "ngAcceptInputType_separatorVerticalPaddingLeft"
ngAcceptInputType_separatorVerticalPaddingLeft: string | number

ngAcceptInputType_separatorVerticalPaddingRight

Section titled "ngAcceptInputType_separatorVerticalPaddingRight"
ngAcceptInputType_separatorVerticalPaddingRight: string | number

ngAcceptInputType_separatorVerticalPaddingTop

Section titled "ngAcceptInputType_separatorVerticalPaddingTop"
ngAcceptInputType_separatorVerticalPaddingTop: string | number
ngAcceptInputType_showOnHover: string | boolean

ngAcceptInputType_showTooltipOnHover

Section titled "ngAcceptInputType_showTooltipOnHover"
ngAcceptInputType_showTooltipOnHover: string | boolean
ngAcceptInputType_stopPropagation: string | boolean

ngAcceptInputType_subPanelRowHeight

Section titled "ngAcceptInputType_subPanelRowHeight"
ngAcceptInputType_subPanelRowHeight: string | number

ngAcceptInputType_toolTipCornerRadius

Section titled "ngAcceptInputType_toolTipCornerRadius"
ngAcceptInputType_toolTipCornerRadius: string | number
ngAcceptInputType_toolTipElevation: string | number
ɵcmp: ɵɵComponentDeclaration<IgxToolbarComponent, "igx-toolbar", never, object, object, ["contentActions"], never, true, never>
ɵfac: ɵɵFactoryDeclaration<IgxToolbarComponent, never>
get accentColor(): string

Returns string

set accentColor(v: string): void

Parameters

  • v: string

Returns void

A collection or manually added axes for the chart.

get actions(): IgxToolActionCollection

Returns IgxToolActionCollection

Gets or sets the data or data source instance to which to bind the grid.

get actualActions(): IgxToolActionCollection

Returns IgxToolActionCollection

set actualActions(v: IgxToolActionCollection): void

Parameters

Returns void

Gets or sets the data or data source instance to which to bind the grid.

get autoGeneratedActions(): IgxToolActionCollection

Returns IgxToolActionCollection

set autoGeneratedActions(v: IgxToolActionCollection): void

Parameters

Returns void

Gets or sets the color to use for the background of the component.

get backgroundColor(): string

Returns string

set backgroundColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the base built in theme to use for the checkbox.

get baseTheme(): BaseControlTheme

Returns BaseControlTheme

set baseTheme(v: BaseControlTheme): void

Parameters

  • v: BaseControlTheme

Returns void

Gets or sets the text style.

get cellTextStyle(): string

Returns string

set cellTextStyle(v: string): void

Parameters

  • v: string

Returns void

checkboxListScrollbarActiveBackground

Section titled "checkboxListScrollbarActiveBackground"

Gets or sets the scrollbar thumb active (dragging) background color for checkbox lists hosted in this toolbar's sub-menus.

get checkboxListScrollbarActiveBackground(): string

Returns string

set checkboxListScrollbarActiveBackground(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the scrollbar background color for checkbox lists hosted in this toolbar's sub-menus.

get checkboxListScrollbarBackground(): string

Returns string

set checkboxListScrollbarBackground(v: string): void

Parameters

  • v: string

Returns void

checkboxListScrollbarHoverBackground

Section titled "checkboxListScrollbarHoverBackground"

Gets or sets the scrollbar thumb hover background color for checkbox lists hosted in this toolbar's sub-menus.

get checkboxListScrollbarHoverBackground(): string

Returns string

set checkboxListScrollbarHoverBackground(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the background color of the radio when in the checked state.

get checkedBackgroundColor(): string

Returns string

set checkedBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the border color of the radio when in the checked state.

get checkedBorderColor(): string

Returns string

set checkedBorderColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the display density to use for the toolbar.

get density(): ControlDisplayDensity

Returns ControlDisplayDensity

set density(v: ControlDisplayDensity): void

Parameters

  • v: ControlDisplayDensity

Returns void

Gets or sets the color to use for the text in disabled tool actions.

get disabledTextColor(): string

Returns string

set disabledTextColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the amount of time to wait when clicking on the icon menu button while the dropdown is opening. If a click was executed within this buffer window the dropdown will be left open. Otherwise it will close it. Setting a negative value will always keep the dropdown open during a hover open and will require an extra click to close.

get dropdownClickBuffer(): number

Returns number

set dropdownClickBuffer(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the dropdown delay time in milliseconds.

get dropdownDelay(): number

Returns number

set dropdownDelay(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the group header background color.

get groupHeaderBackgroundColor(): string

Returns string

set groupHeaderBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the text color for group header subtitles.

get groupHeaderSubtitleTextColor(): string

Returns string

set groupHeaderSubtitleTextColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the text color for group header tool actions.

get groupHeaderTextColor(): string

Returns string

set groupHeaderTextColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the text style.

get groupHeaderTextStyle(): string

Returns string

set groupHeaderTextStyle(v: string): void

Parameters

  • v: string

Returns void

get height(): string

Returns string

set height(value: string): void

Parameters

  • value: string

Returns void

get highlightColor(): string

Returns string

set highlightColor(v: string): void

Parameters

  • v: string

Returns void

get highlightRadius(): number

Returns number

set highlightRadius(v: number): void

Parameters

  • v: number

Returns void

get highlightWidth(): number

Returns number

set highlightWidth(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the hover background color.

get hoverBackgroundColor(): string

Returns string

set hoverBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

get i(): Toolbar

Returns Toolbar

Gets or sets the fill color of icons in the ToolPanel.

get iconFill(): string

Returns string

set iconFill(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the stroke color of icons in the ToolPanel.

get iconStroke(): string

Returns string

set iconStroke(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the stroke color for all icon menu dropdown arrows.

get menuArrowStroke(): string

Returns string

set menuArrowStroke(v: string): void

Parameters

  • v: string

Returns void

Event raised when a command is triggered in the toolbar.

get onCommand(): EventEmitter<object>

Returns EventEmitter<object>

Gets or sets the orientation of the toolbar.

get orientation(): ToolbarOrientation

Returns ToolbarOrientation

set orientation(v: ToolbarOrientation): void

Parameters

Returns void

Gets or sets the row height that should be used.

get rowHeight(): number

Returns number

set rowHeight(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the style of scrollbar.

get scrollbarStyle(): ScrollbarStyle

Returns ScrollbarStyle

set scrollbarStyle(v: ScrollbarStyle): void

Parameters

  • v: ScrollbarStyle

Returns void

Gets or sets the separator background color.

get separatorBackgroundColor(): string

Returns string

set separatorBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the bottom padding for separators in the horizontal orientation.

get separatorHorizontalPaddingBottom(): number

Returns number

set separatorHorizontalPaddingBottom(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the left padding for separators in the horizontal orientation.

get separatorHorizontalPaddingLeft(): number

Returns number

set separatorHorizontalPaddingLeft(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the right padding for separators in the horizontal orientation.

get separatorHorizontalPaddingRight(): number

Returns number

set separatorHorizontalPaddingRight(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the top padding for separators in the horizontal orientation.

get separatorHorizontalPaddingTop(): number

Returns number

set separatorHorizontalPaddingTop(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the bottom padding for separators in the vertical orientation.

get separatorVerticalPaddingBottom(): number

Returns number

set separatorVerticalPaddingBottom(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the left padding for separators in the vertical orientation.

get separatorVerticalPaddingLeft(): number

Returns number

set separatorVerticalPaddingLeft(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the right padding for separators in the vertical orientation.

get separatorVerticalPaddingRight(): number

Returns number

set separatorVerticalPaddingRight(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the top padding for separators in the vertical orientation.

get separatorVerticalPaddingTop(): number

Returns number

set separatorVerticalPaddingTop(v: number): void

Parameters

  • v: number

Returns void

Gets or sets if the tool actions should display their submenus on mouse hover.

get showOnHover(): boolean

Returns boolean

set showOnHover(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or sets if the tool action icon buttons should display their tooltips on mouse hover.

get showTooltipOnHover(): boolean

Returns boolean

set showTooltipOnHover(v: boolean): void

Parameters

  • v: boolean

Returns void

Prevents clicks on the tool actions from bubbling.

get stopPropagation(): boolean

Returns boolean

set stopPropagation(v: boolean): void

Parameters

  • v: boolean

Returns void

Gets or sets the background color for submenus.

get submenuBackgroundColor(): string

Returns string

set submenuBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

Event raised when a submenu is closed on the toolbar

get subMenuClosing(): EventEmitter<object>

Returns EventEmitter<object>

Event raised when a submenu is opened on the toolbar.

get subMenuOpening(): EventEmitter<object>

Returns EventEmitter<object>

Gets or sets the height to use for the sub panel rows if different than default.

get subPanelRowHeight(): number

Returns number

set subPanelRowHeight(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the text color for subtitles.

get subtitleTextColor(): string

Returns string

set subtitleTextColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the text style for subtitles.

get subtitleTextStyle(): string

Returns string

set subtitleTextStyle(v: string): void

Parameters

  • v: string

Returns void

Gets or sets a target component which the toolbar can request actions from.

get target(): any

Returns any

set target(v: any): void

Parameters

  • v: any

Returns void

Gets or sets the color to use for the text of the component.

get textColor(): string

Returns string

set textColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the tooltip background color.

get toolTipBackgroundColor(): string

Returns string

set toolTipBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the tooltip corner radius.

get toolTipCornerRadius(): number

Returns number

set toolTipCornerRadius(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the shadow elevation for the tooltip.

get toolTipElevation(): number

Returns number

set toolTipElevation(v: number): void

Parameters

  • v: number

Returns void

Gets or sets the tooltip text color.

get toolTipTextColor(): string

Returns string

set toolTipTextColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the background color of the radio when in the unchecked state.

get uncheckedBackgroundColor(): string

Returns string

set uncheckedBackgroundColor(v: string): void

Parameters

  • v: string

Returns void

Gets or sets the border color of the radio when in the unchecked state.

get uncheckedBorderColor(): string

Returns string

set uncheckedBorderColor(v: string): void

Parameters

  • v: string

Returns void

get width(): string

Returns string

set width(value: string): void

Parameters

  • value: string

Returns void

Forces any open sub menus to close.

closeSubmenus(): void

Returns void

Returns a serialized copy of the exported visual model

exportSerializedVisualData(): string

Returns string

Exports visual information about the current state of the grid.

exportVisualData(): any

Returns any

findByName(name: string): any

Parameters

  • name: string

Returns any

flushRefresh(): void

Returns void

getBoolContextItem(key: string): boolean

Parameters

  • key: string

Returns boolean

getBrushCollectionContextItem(key: string): string[]

Parameters

  • key: string

Returns string[]

getBrushContextItem(key: string): string

Parameters

  • key: string

Returns string

getColorContextItem(key: string): string

Parameters

  • key: string

Returns string

getDataContextItem(key: string): any

Parameters

  • key: string

Returns any

getDataURLFromCache(iconCollection: string, iconName: string): string

Parameters

  • iconCollection: string
  • iconName: string

Returns string

Get the desired size the toolbar wants to be.

getDesiredSize(): IgSize

Returns IgSize

getDoubleContextItem(key: string): number

Parameters

  • key: string

Returns number

getExternalDataContextItem(key: string): any

Parameters

  • key: string

Returns any

getExternalDoubleContextItem(key: string): number

Parameters

  • key: string

Returns number

getExternalIntContextItem(key: string): number

Parameters

  • key: string

Returns number

getIconFromCache(iconCollection: string, iconName: string): string

Parameters

  • iconCollection: string
  • iconName: string

Returns string

getIconSource(iconCollection: string, iconName: string): any

Parameters

  • iconCollection: string
  • iconName: string

Returns any

getIntContextItem(key: string): number

Parameters

  • key: string

Returns number

getMultiPathSVGFromCache(iconCollection: string, iconName: string): string[]

Parameters

  • iconCollection: string
  • iconName: string

Returns string[]

getStringContextItem(key: string): string

Parameters

  • key: string

Returns string

Is a dropdown menu or tooltip currently open.

isOpen(): boolean

Returns boolean

ngAfterContentInit(): void

Returns void

ngAfterViewInit(): void

Returns void

ngOnDestroy(): void

Returns void

onCommandStateChanged(id: string, type: any, value: any): void

Parameters

  • id: string
  • type: any
  • value: any

Returns void

registerIconFromDataURL(iconCollection: string, iconName: string, dataURL: string): void

Parameters

  • iconCollection: string
  • iconName: string
  • dataURL: string

Returns void

registerIconFromText(iconCollection: string, iconName: string, iconText: string): void

Parameters

  • iconCollection: string
  • iconName: string
  • iconText: string

Returns void

registerIconSource(iconCollection: string, iconName: string, source: any): void

Parameters

  • iconCollection: string
  • iconName: string
  • source: any

Returns void

registerMultiPathSVG(iconCollection: string, iconName: string, multiPathSVG: string[]): void

Parameters

  • iconCollection: string
  • iconName: string
  • multiPathSVG: string[]

Returns void

setBoolContextItem(key: string, value: boolean): void

Parameters

  • key: string
  • value: boolean

Returns void

setBrushCollectionContextItem(key: string, value: string[]): void

Parameters

  • key: string
  • value: string[]

Returns void

setBrushContextItem(key: string, value: string): void

Parameters

  • key: string
  • value: string

Returns void

setColorContextItem(key: string, value: string): void

Parameters

  • key: string
  • value: string

Returns void

setDataContextItem(key: string, value: any): void

Parameters

  • key: string
  • value: any

Returns void

setDoubleContextItem(key: string, value: number): void

Parameters

  • key: string
  • value: number

Returns void

setExternalDataContextItem(key: string, value: any): void

Parameters

  • key: string
  • value: any

Returns void

setExternalDoubleContextItem(key: string, value: any): void

Parameters

  • key: string
  • value: any

Returns void

setExternalIntContextItem(key: string, value: any): void

Parameters

  • key: string
  • value: any

Returns void

setIntContextItem(key: string, value: number): void

Parameters

  • key: string
  • value: number

Returns void

setStringContextItem(key: string, value: string): void

Parameters

  • key: string
  • value: string

Returns void

updateStyle(): void

Returns void